question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Both "Show browser" or "Run in Debug Mode" are not working

See original GitHub issue

Thank you for the great VSCode extension 😃 However, it doesn’t work in both “Show browser” or “Run in Debug Mode”.

https://user-images.githubusercontent.com/9500018/198824236-75862bc3-38ce-45e3-ad3f-10bea9811201.mp4

On the other hand, npx playwright test --debug works fine.

Best regards.

My environment

  • Windows 10
  • VSCode: 1.72.2
  • Playwright Test for VSCode: v0.2.13
$ npx playwright --version
Version 1.27.1

Error message

テストを実行しようとしてエラーが発生しました: TypeError: Cannot read properties of undefined (reading 'setReuseBrowser')

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tadashi-aikawacommented, Nov 21, 2022

However, I created a new project (https://github.com/microsoft/playwright/issues/18424#issue-1428319591), then it worked! Many thanks! 😄

By the way, It downloaded a new Chromium. Did I download the one that contains a bug before?

It downloaded a new Chromium. Did I download the one that contains a bug before?Downloading Chromium 108.0.5359.29 (playwright build v1033) from https://playwright.azureedge.net/builds/chromium/1033/chromium-win64.zip
109.5 Mb [====================] 100% 0.0s
1reaction
aslushnikovcommented, Nov 8, 2022

I still failed to repro; assigning to Yury who has access to a windows machine. I hope he’ll be able to repro; otherwise, we won’t be able to do much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Both "Show browser" or "Run in Debug Mode" are not working
Both "Show browser" or "Run in Debug Mode" are not working #18424 ... On the other hand, npx playwright test --debug works fine....
Read more >
How to fix browser not opening in debug mode?
To do this, right click on the relevant project in your solution and click Properties. In the menu on the left click Debug,...
Read more >
Blazor - Changes in Debug Mode Not Loading in Browser
When I make changes to my Razor component in debug mode, running app in Browser doesn't refresh. Tried hitting the refresh button many...
Read more >
Application running in debug mode in the test environment not ...
The only workaround is to use an external browser. You can set an external browser by going to Windows > Preferences > Internet...
Read more >
Debug Browser Apps using Visual Studio Code
The simplest way to debug a webpage is through the Debug: Open Link command found in the Command Palette (Ctrl+Shift+P). When you run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found