I am trying to get pylons to debug in Eclipse under Ubuntu. Specifically. I am not sure what to use for the ‘Main Module’ on the Run configurations dialog.
(this is a similar question on stackoverflow, but I think it applies to windows as I can’t find paster-script.py on my system)
Can anyone help?
I’ve managed to fix this now.
In
Window>Preferences>Pydev>Interpreter-Pythonremove the python interpreter and reload it (selectNew) after installing pylons.In the Terminal cd into the projects directory. Then type
sudo python setup.py developNot sure what this does, but it does the trick (if any one wants to fill me in, please do)In
Run>Open Debug Dialogenter the location of paster inMain Module. For me this is/usr/bin/paster. Then in theArgumentstab inProgram argumentsenterserve /locationOfYourProject/development.iniAll set to go. It took a lot of search for me to find out that it does not work if the arguments includes
--reload