Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how to integrate with VSCode debugger #947

Open
jensenhertz opened this issue Apr 7, 2022 · 1 comment
Open

Documentation on how to integrate with VSCode debugger #947

jensenhertz opened this issue Apr 7, 2022 · 1 comment

Comments

@jensenhertz
Copy link

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.

@achingbrain
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants