Well, what do you mean by "output in the shell" ?
Do you see pdb prompt in terminal?
From pdb prompt you may inspect objects by typing "pp <something>"
If you want to print something to terminal during program execution,
you probably have to send it to the standard error like this:
import sys;sys.stderr.write('Hello!')
It depends on the way how you executed dev_appserver.py and if you did
any output redirections.
I would use logging module instead...
---
If you are on OSX, you may try to run this project and debug main():
http://github.com/darwin/drydrop/tree/master
add these lines into main() in drydrop_handler.py
import sys;sys.stderr.write('Hello from main!')
import drydrop.lib.dbg;drydrop.lib.dbg.b()
run:
rake edge_gae
rake
it starts dev server in new terminal window with title "DryApp",
go to
http://localhost:8080/
and then see "DryApp" terminal tab
debugger works even without patching GAE SDK
hmm, strange
anyway, this may be good example, I've just tested it here on my machine
Antonin