- Code: Select all
/usr/local/bin/indigo-host -d 100 -x ./foo.py
100 appears to be for pdb when I run indigo-host --help:
- Code: Select all
-d {0,100,101,102,200}, --debug {0,100,101,102,200}
Debug mode: PDB: 100, PuDB: 101, PyCharm: 102, Debug shell: 200
I've added calls to indigo.debugger() in my script, but as far as I can tell, execution just halts there. I've verified this by adding logging before and after the call to indigo.debugger(). As if some window is opening somewhere where I can step into the debugger but I don't see it.
So when I hit ctrl-c in the terminal window where I'm running indigo-host, after it exits, I see the following in the indigo logs:
- Code: Select all
Error ElementNotFoundError -- could not find plugin com.perceptiveautomation.indigoplugin.scriptexecutor.external
So I guess first question is.... am I being dumb in thinking this should work at all?
And if this should be working, any ideas why it isn't and also is the above ElementNotFoundError related?