hextant_python_debugger
hextant_python_debugger copied to clipboard
Debugger no longer stopping at break points
Came across this debugger and started using it. For about two weeks it was working well - I was able to attach to an addon I wrote which was running in Blender and was even able to stop at breakpoints and step through it. And then for some reason it stopped working. I don't know what might have changed - I'm still able to connect to my Blender session and the output from it is still printed to my Visual Studio Code console, but stopping at breakpoints is no longer happening.
On the Problems tab in the build output area I have 16 warnings that are variations of Call expression not allowed in type expression Pylance(reportInvalidTypeForm). not sure if that is related or not.
What can I do to get breakpoints working again?
{
"configurations": [
{
"name": "Python Debugger: Remote Attach",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
]
}
]
}
Blender version? Don't have any issues on 4.1.
I'm using 4.1 too. And it was working for the first week I was using it, but something must have changed and it is now no longer breaking. Not sure if it's on the Blender side or the Visual Studio Code side.
Not sure if this particular issue was caused by it but want to put it out there - disabling "Just My Code" in VS Code settings helps fixing missed breakpoints in some cases.