I'm working on a simple approach for web2py based on a simple debugger
(qdb, an enhancement to pdb).
Please see the following page for further instructions:
http://code.google.com/p/rad2py/wiki/QdbRemotePythonDebugger
Basically:
* copy qdb.py to modules
* insert "import qdb; qdb.set_trace()" in your controller to start the debugger
* run "python qdb.py" from the command line to debug
The commands are very similar to pdb, you can evaluate expressions and
execute statements, set breakpoints, jump, etc.
If you need to connect from a remote machine, open the qdb.py file and
change the host address (currently it is 'localhost' port 3000 per
default)
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com