{ "info": { "author": "Micha\u0142 Podeszwa", "author_email": "michal.podeszwa@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "Auto-Debugger\r\n==============\r\n\r\nOverview\r\n--------------\r\n\r\nThis is a simple module which enables you to have automatic post-mortem debugging as simply as possible\r\n\r\nUsage\r\n--------------\r\n\r\nInstall it using ``pip install autodebug``.\r\n\r\nThen in your Python script, before the possible exception write\r\n\r\n import autodebug\r\n \r\n\r\nThen if any **uncaught** exception happens, you'll be immediately transferred to debugger.\r\nExactly the moment **before** the exception occured. So you'll have access to all variables and everything.\r\n\r\nDebugger\r\n--------------\r\n\r\nYou can specify which Python debugger you want to use.\r\n\r\nTo do that simply set the environmental variable ``AUTO_DEBUG``.\r\nPossible debuggers currently are:\r\n\r\n* ``pdb`` for built-in Python debugger\r\n* ``ipdb`` for ``ipdb`` Python debugger\r\n* ``pudb`` for full-screen console Python debugger.\r\n\r\nIf you do not set the variable, ``pdb`` will be used, as it is built-in.\r\n\r\nPost notes\r\n--------------\r\n\r\n* Please note that this module uses custom ``sys.excepthook``, so if you are using your own, this module will not work, or will overwrite your ``excepthook`` \r\n (This depends on order of ``import`` and setting your own ``excepthook``)\r\n\r\n* In order to make it work with ``uwsgi`` you have to pass ``--honour-stdin`` to uwsgi configuration. This will make it possible to debug ``uwsgi`` applications!.\r\n But keep in mind, that if you've got more than 1 worker, and multiple people are using your application, the terminal output will be ugly.\r\n\r\n* The debugger won't start if it is imported inside interactive console, so it may not work in some IDEs. Experiment yourself, however it is adviced to start your\r\n programs using command line.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MichalPodeszwa/autodebug", "keywords": "debugger debug automatic auto auto-debug", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "autodebug", "package_url": "https://pypi.org/project/autodebug/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/autodebug/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/MichalPodeszwa/autodebug" }, "release_url": "https://pypi.org/project/autodebug/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Importing this module enables automatic post mortem debugging upon any exception. It uses module specified in envvar", "version": "1.0.1" }, "last_serial": 1208382, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "ed83a64408f82068b3df5417b2cd14a1", "sha256": "c262f57b1e1c9a821655d8074477f8ef7f60428c85fc30a07d3d93580b36c3b4" }, "downloads": -1, "filename": "autodebug-0.9.tar.gz", "has_sig": false, "md5_digest": "ed83a64408f82068b3df5417b2cd14a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2257, "upload_time": "2014-08-31T09:51:11", "url": "https://files.pythonhosted.org/packages/a4/fa/682f87d4c76ce0a92351c663ee7a904d8b78b7cfb2f2ef6bf79c94e9e917/autodebug-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "b60131d358401cc2171852f23b7039f2", "sha256": "9dd431d6e062a449a851471d4cfc48f764a73b493c1dc6ec0017bd63502b5779" }, "downloads": -1, "filename": "autodebug-1.0.tar.gz", "has_sig": false, "md5_digest": "b60131d358401cc2171852f23b7039f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2198, "upload_time": "2014-08-31T09:59:13", "url": "https://files.pythonhosted.org/packages/b9/34/13efb698a22ef70e63180f87d10e7dfb7985333f42363857bd9b60f35379/autodebug-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6438cea12e4f1606387fa46c4523c924", "sha256": "2bfb2ad783d877114c1c80d406a2624e0aa5a25d3dbacdf4b9cc4cc9d860c20a" }, "downloads": -1, "filename": "autodebug-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6438cea12e4f1606387fa46c4523c924", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2249, "upload_time": "2014-08-31T10:12:36", "url": "https://files.pythonhosted.org/packages/bf/3e/1f15a0fcf8dd34df305bb661b65bad98984f251f4a779741d3c2000777d4/autodebug-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6438cea12e4f1606387fa46c4523c924", "sha256": "2bfb2ad783d877114c1c80d406a2624e0aa5a25d3dbacdf4b9cc4cc9d860c20a" }, "downloads": -1, "filename": "autodebug-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6438cea12e4f1606387fa46c4523c924", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2249, "upload_time": "2014-08-31T10:12:36", "url": "https://files.pythonhosted.org/packages/bf/3e/1f15a0fcf8dd34df305bb661b65bad98984f251f4a779741d3c2000777d4/autodebug-1.0.1.tar.gz" } ] }