How to debug a failing Script?


Since I updated to Kicad 6 some script does not run anymore.
I tried to debug it but failed since I found no source that explains how to debug a script.
How do I get the script to run on my board from the Kicad Python console?
Or how can I do this from another tool like VSCode?

Is there any clear step-by-step guide how to get this running?
I know how to get to KiPython and how to run a script from there. But it seems that some path environment is not available to the script I try to start directly from there.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.