vscode: debug restart does not work in test mode

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.93.1
  • OS Version: Sonoma 14.5

Steps to Reproduce:

  1. run a test from the integrated test runner
  2. hook the debugger on a breakpoint
  3. click the restart button

I also tried this on the latest insiders build, but it fails with the same error as in the current vs code

Invalid message: either “program”, “module”, or “code” must be specified

Screenshot 2024-09-18 at 10 20 18

I found others discussing this issue in the playright issues in a couple of places related to vscode and I opened an issue there that pulled those threads together

https://github.com/microsoft/playwright/issues/32655

but I then realised that that was probably the wrong repo.

This change would make testing with debugging so much more efficient - I hit this issue multiple times a day - debug restart works on all my scripts, but not my tests 😦

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Are people still seeing this for python or is it just other languages?