How do I connect the Eclipse debugger to a python program starting with a script?
I am using Pydev. I want to debug a python program that starts with a bash script named runanki
that looks something like this:
#!/usr/bin/env python
import sys
sys.path.insert(0, "/usr/share/anki")
import aqt
aqt.run()
When I tried to debug the program, Eclipse seemed to be looking for a method main
which was useless of course. So how can I tell Eclipse that it can start the program by executing runanki
?
+3
source to share
No one has answered this question yet
Check out similar questions: