Skip to content

debug test with PWDEBUG=console set #16957

@mjgoeke

Description

@mjgoeke

I'd like to use the plugin to run the current test, but when debugging I'd like pwdebug=console, so I have access to the playwright object in the browser console.
I can't seem to find a way to set the env variable in some global vscode launch config, nor do I see a way to toggle this through this extensions settings.
Can you help direct me how to debug a specific test with pwdebug=console?
If not I'd like to request it as a feature.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions