Documentation on how to integrate with VSCode debugger
jensenhertz opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
I'm trying to run tests on Chromium, but tests fail without any errors. Playwright can be hooked up to VSCode's debugger, but I haven't found a way to get it to work with aegir setup.
Describe the solution you'd like
Documentation or at least an example how to integrate with VSCode.
Describe alternatives you've considered
npm remove aegir
and go with Playwright alone, but I'd love to get this to work with aegir because it rocks.
Browser tests use playwright-test under the hood, you can use forward args to pass extra config on, eg:
$ aegir test -t browser -- [playwright test args here]
So:
$ aegir test -t browser -- --debug
This will open the Playwright Inspector.
$ aegir test -t browser -- --config ./path/to/config.file
This will let you use a file to configure Playwright which I guess might let you configure VSCode integration?
Otherwise you could ask on the playwright-test repo how to hook it up to VSCode?