Open cmelchiorre opened 1 year ago
Maybe related to https://github.com/JacquesLucke/blender_vscode/issues/140
Maybe your source is in "e:\Software\Blender\3.4\python\workspace\test_addon", and if you add breakpoints to those files they should be normal red dots. You can try to place them there without running blender etc.
Then during execution vscode opens the file but in the mapped path "C:\Users\
Probably if you set breakpoints in "e:\Software\Blender\3.4\python\workspace\test_addon" then the execution will be stopped at those places even if the file that pops up is in "C:\Users\
I noticed you are working with multiple drives e
and C
thats is also proably another thing that may fail. This addon uses Junctions to simulate your addon being inside the addons folders too, but iirc junctions can work across drives.
I've configured vs code for Blender development. The following is my configuration:
I can start Blender and run scripts, but when debugging, if I set a breakpoint, this appears as excluded (dark bullet with white border instead of a red bullet).
The text message hovering over the breakpoint says:
But adding
"justMyCode" = false
to launch.json doesn't change anythinhg:This is my launch.json:
Output window:
Terminal window:
Debug console: