How to make vscode not wait for finishing a preLaunchTask?

This worked for me. Note all these are required, even though none are important: problemMatcher.pattern.regexp problemMatcher.pattern.file problemMatcher.pattern.location problemMatcher.pattern.message problemMatcher.background.activeOnStart problemMatcher.background.beginsPattern problemMatcher.background.endsPattern { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format “version”: “2.0.0”, “tasks”: [ { “label”: “build-extras”, “type”: “shell”, “isBackground”: true, “command”: “./script/build-extras”, // This task is run before some debug tasks. … Read more

How to disable “just my code” setting in VSCode debugger?

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