debug Module

Debugging utilities.

class wpull.debug.DebugConsoleHandler(application, request, **kwargs)[source]

Bases: tornado.web.RequestHandler

TEMPLATE = '<html>\n <style>\n #commandbox {{\n width: 100%;\n }}\n </style>\n <body>\n <p>Welcome to DEBUG CONSOLE!</p>\n <p><tt>Builder()</tt> instance at <tt>wpull_builder</tt>.</p>\n <form method="post">\n <input id="commandbox" name="command" value="{command}">\n <input type="submit" value="Execute">\n </form>\n <pre>{output}</pre>\n </body>\n </html>\n '
get()[source]
post()[source]