Just adding "justMyCode": false
to launch.json
doesn’t work. You need to add a separate config in launch.json
like below. FYI each {}
represents a config.
"configurations": [
{
.... # existing config
},
{
"name": "Debug Unit Test",
"type": "python",
"request": "test",
"justMyCode": false,
}
]
As pointed out in here