{ "info": { "author": "David Fraser", "author_email": "davidf@sjsoft.com", "bugtrack_url": null, "classifiers": [], "description": "dbghelper\n=========\n\nConvenience method for manually inserting tracepoints into code that support multiple debuggers\n\n.. code-block:: python\n\n import dbg ; dbg.D()\n\nas an alternative to:\n\n.. code-block:: python\n\n import pdb ; pdb.set_trace()\n\nThis supports multiple debuggers; currently `pdb `_\n(or `Pdb++ `_ if installed), `winpdb `_, and\n`pydevd `_ (which is used inside both\n`PyDev `_ and `PyCharm `_).\n\nSelecting the debugger\n----------------------\n\nThe debugger desired can be selected by setting the environment variable PYDBG. The following are valid values:\n\n* ``pydevd`` or ``pycharm`` will use pydevd locally (if running in debug mode) or remotely if not\n* ``pydevd_remote`` or ``pycharm_remote`` will use pydevd remotely\n* ``pydevd_local`` or ``pycharm_local`` will use pydevd locally, and warn if not running in debug mode\n* ``winpdb`` will use winpdb\n* ``pdb`` will use pdb (default)\n\nAn environment variable is used so that imports of the debugger libraries can be determined at import time.\n\nInserting a tracepoint\n----------------------\n\nCall ``dbg.D()`` to insert a tracepoint in the code; the appropriate debugger should launch when that line of code\nis executed, ready to execute the following line.\n\nA thread-safe version ``dbg.tsD()``is also supported. This is only different when using ``pdb``; in that case multiple\nthreads having tracepoints (for example, in a web server) can cause confusion as multiple debug sessions get attached\nto the same console. The ``tsD`` implementation uses a lock to only allow one debug session to use the console at once;\nother sessions are not allowed the lock until the debug interaction is finished (e.g. typing ``c`` for continue).\n\nParameters for debuggers\n------------------------\nSome debuggers have parameters that can be set using environment variables, or at runtime.\n\n``pydevd`` implementation will use the value of the environment variables ``PYDEVD_HOST`` for hostname and\n``PYDEVD_PORT`` for port when connecting remotely by default. These can also be adjusted on by setting\n``dbg.pydevd_args.host`` and ``dbg.pydevd_args.port`` at runtime.", "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/davidfraser/dbghelper", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "dbghelper", "package_url": "https://pypi.org/project/dbghelper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dbghelper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/davidfraser/dbghelper" }, "release_url": "https://pypi.org/project/dbghelper/0.3/", "requires_dist": null, "requires_python": null, "summary": "Cross-debugger inline debugging tracepoints for pdb/winpdb/pydevd/pycharm", "version": "0.3" }, "last_serial": 1371266, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cfaa29b7b6e475b564b7869a095cfe3f", "sha256": "7d600c0d3ba403c3645c8e63accb23babe5f32b8c5edd76960ce660c83daf962" }, "downloads": -1, "filename": "dbghelper-0.1-py2.6.egg", "has_sig": true, "md5_digest": "cfaa29b7b6e475b564b7869a095cfe3f", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 3110, "upload_time": "2010-06-28T11:47:09", "url": "https://files.pythonhosted.org/packages/c8/e9/50e3c3cc5fca3374cd453eb1921316ac5b6a8eee79b142e87557c10d0753/dbghelper-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "8c6cdd184ede1930e2929ed7b9cd9c0e", "sha256": "074fd9196d8fcb2770ef7237e3afbe0712aab25573fe9f08355bfc7b5e269aaf" }, "downloads": -1, "filename": "dbghelper-0.1.tar.gz", "has_sig": true, "md5_digest": "8c6cdd184ede1930e2929ed7b9cd9c0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1593, "upload_time": "2010-06-28T11:45:05", "url": "https://files.pythonhosted.org/packages/bb/ea/d6809db569205f808203d38cabbbe0f3b3364bfe8ff63bbcb7b24526fc1a/dbghelper-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "5747890750993a1c30560eb21dc465ea", "sha256": "3441c2055b96115a9bc359f5594283d006c03c5e366e9389c00069873b5ebde7" }, "downloads": -1, "filename": "dbghelper-0.2-py2.7.egg", "has_sig": false, "md5_digest": "5747890750993a1c30560eb21dc465ea", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4118, "upload_time": "2014-12-29T21:59:56", "url": "https://files.pythonhosted.org/packages/a3/fa/09be3ea5a0a9f9dfb4a07d2c50645f8bf5886826870981a1bffb0dcb5c9e/dbghelper-0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "03ca8a184dcd29227357ac00f26e3b60", "sha256": "a289003e0e0d09a682b6518b0e194c698b9bee98e8fa13cea1d993dac467e7ec" }, "downloads": -1, "filename": "dbghelper-0.2.tar.gz", "has_sig": false, "md5_digest": "03ca8a184dcd29227357ac00f26e3b60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1974, "upload_time": "2014-12-29T21:59:53", "url": "https://files.pythonhosted.org/packages/d9/99/749ad0ab454813cdc8bdf74a465364645ab81c9a0bda8729b5300f316985/dbghelper-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f518c1444a0d486c3886d4813ae82fd9", "sha256": "b910e10bb89b0c4b3e5b7502f3f132370c821e4e57d36bb2ef6e0d4c3c95f009" }, "downloads": -1, "filename": "dbghelper-0.2.1-py2.7.egg", "has_sig": false, "md5_digest": "f518c1444a0d486c3886d4813ae82fd9", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4300, "upload_time": "2015-01-02T07:25:14", "url": "https://files.pythonhosted.org/packages/85/25/cd6b1ec5340f57e777a27c90eb15e11e0c483d7270d1d375616183eed5b0/dbghelper-0.2.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "41bf098d3ae3b84c2f0d360edd11d71a", "sha256": "005b7d300a65fd471f7dee956032489ca27b2afaca54e25ff3a9f80ea523d268" }, "downloads": -1, "filename": "dbghelper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "41bf098d3ae3b84c2f0d360edd11d71a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2278, "upload_time": "2015-01-02T07:25:12", "url": "https://files.pythonhosted.org/packages/80/2b/903398606a1625f31bc8253667865306bc9d34ff88edeb6caa6e74667b39/dbghelper-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5c6ad8cca590d6f3d0dcdc0fc9a85636", "sha256": "11fed4a2bf635efb38d4d01044cd5b60579a1db8c5b6f7aeea8f605223f1777c" }, "downloads": -1, "filename": "dbghelper-0.3-py2.7.egg", "has_sig": false, "md5_digest": "5c6ad8cca590d6f3d0dcdc0fc9a85636", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7689, "upload_time": "2015-01-05T15:51:57", "url": "https://files.pythonhosted.org/packages/0e/de/ba0b351a91d3cf4a83bbdebc74d23a09a718bf2a4c20cfc56f3279a84fae/dbghelper-0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f352f884cd88c8d64082a9f10646bca4", "sha256": "09c4c537ff485811598e269568261093984054fdc61dbfc548a98f9349af0acb" }, "downloads": -1, "filename": "dbghelper-0.3.tar.gz", "has_sig": false, "md5_digest": "f352f884cd88c8d64082a9f10646bca4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4233, "upload_time": "2015-01-05T15:51:55", "url": "https://files.pythonhosted.org/packages/cc/af/1c552a9b7a3eadfcbb86d0b5b81c9c313cff399c22ef43621f6eb927b428/dbghelper-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c6ad8cca590d6f3d0dcdc0fc9a85636", "sha256": "11fed4a2bf635efb38d4d01044cd5b60579a1db8c5b6f7aeea8f605223f1777c" }, "downloads": -1, "filename": "dbghelper-0.3-py2.7.egg", "has_sig": false, "md5_digest": "5c6ad8cca590d6f3d0dcdc0fc9a85636", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7689, "upload_time": "2015-01-05T15:51:57", "url": "https://files.pythonhosted.org/packages/0e/de/ba0b351a91d3cf4a83bbdebc74d23a09a718bf2a4c20cfc56f3279a84fae/dbghelper-0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f352f884cd88c8d64082a9f10646bca4", "sha256": "09c4c537ff485811598e269568261093984054fdc61dbfc548a98f9349af0acb" }, "downloads": -1, "filename": "dbghelper-0.3.tar.gz", "has_sig": false, "md5_digest": "f352f884cd88c8d64082a9f10646bca4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4233, "upload_time": "2015-01-05T15:51:55", "url": "https://files.pythonhosted.org/packages/cc/af/1c552a9b7a3eadfcbb86d0b5b81c9c313cff399c22ef43621f6eb927b428/dbghelper-0.3.tar.gz" } ] }