Debugging python script in VS Code

Hello everyone,

I’ve been looking for similar topic on this forum, but haven’t found anything useful in my case. I have few pretty complex scripts which I would like to debug. I would like to use another code editor than the one embedded in rhino. Is there a way to set vs code so I could set a breakpoints and move between them while debugging rhinopython script? I tried to install vs code extension “RhinoPython” but it doesn’t allow to debug the code (as I understand).

The thing is I have many files that depends on each other and it’s pretty hard to figure out what’s going on just by printing values in rhino console.I would be really grateful for any help or some tips where I could find more info related to debugging python scripts.

Thanks,
Jacek

Note you can set breakpoints in the base Rhino/Python code editor…

1 Like

Thank for your reply.
Yes, I’m aware of that and I will use it if I won’t find another solution. But still I really like vs code and wanted to find a way to debug the code within this editor.