Debugging in MediaDrop

Interactive Web-Based Debugging

When debug mode is enabled (set in the ini config), you’ll get interactive web-based debugging when an exception occurs.

You can view the entire stack trace, with local variables and their values, and even execute code in any context of the trace.

IPython

If you’re using the Paster server and you have if you have IPython installed, try calling

mediadrop.ipython()()

at some point in your code; it’ll act as a breakpoint and open up an IPython shell with the local scope for you to play with.

You're reading the documentation for MediaDrop 0.11dev (current git master). For the latest stable release please consult the documentation for MediaCore CE 0.10.