Reputation: 449
I am very new to using VSCode, I am just trying to determine why my breakpoints are not being hit. I might be misunderstanding some basic concepts, so please bear with me.
I have a python file which is called by another python file.
In the python file that I want to debug, if I set a breakpoint at a top level indentation function it breaks, however, if I put a breakpoint in anything other than that the debugger skips over it.
Upvotes: 0
Views: 1278
Reputation: 1
One way to troubleshoot is going to Debug Console in Vscode. It may give you a hint of why Debug and Break point did not hit.
In my case when debugging Django code calling other libraries, the break did not hit. Thanks to the suggestion in Debug Console, I changed "justMyCode": false
to make it work.
Upvotes: 0