VSCode debugger error when running debugger with justmycode set to false

June 27, 2022

When running justmycode set to false, an error is thrown. This is an unsolved issue.

Debugger configuration for tests must be specified with:

{
  "name": "Python: Debug Tests",
  "type": "python",
  "request": "launch", // this doesn't accept `test` anymore
  "program": "${file}",
  "purpose": ["debug-test"], // this specifies test configuration
  "console": "integratedTerminal",
  "justMyCode": false
}