playwright-vscode icon indicating copy to clipboard operation
playwright-vscode copied to clipboard

debug test with PWDEBUG=console set

Open mjgoeke opened this issue 3 years ago • 0 comments

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!

mjgoeke avatar Aug 19 '22 06:08 mjgoeke