Skip to content

Commit 6267d1a

Browse files
authored
Recommend madbg instead of epdb (#2428)
epdb doesn't work anymore in Python 3.13 because it requires telnetlib which was removed from Python's stdlib in 3.13
1 parent dbae0ce commit 6267d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docsite/rst/dev_guide/debugging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The following steps use ``localhost`` as the target host, but you can use the sa
102102
Simple debugging
103103
================
104104

105-
The easiest way to run a debugger in a module, either local or remote, is to use `epdb <https://pypi.org/project/epdb/>`_. Add ``import epdb; epdb.serve()`` in the module code on the control node at the desired break point. To connect to the debugger, run ``epdb.connect()``. See the `epdb documentation <https://pypi.org/project/epdb/>`_ for how to specify the ``host`` and ``port``. If connecting to a remote node, make sure to use a port that is allowed by any firewall between the control node and the remote node.
105+
The easiest way to run a debugger in a module, either local or remote, is to use `madbg <https://github.com/kmaork/madbg/blob/master/README.md>`_. Add ``import madbg; madbg.set_trace()`` in the module code on the control node at the desired break point. To connect to the debugger, run ``madbg connect``. See the `madbg documentation <https://pypi.org/project/madbg/>`_ for how to specify the ``host`` and ``port``. If connecting to a remote node, make sure to use a port that is allowed by any firewall between the control node and the remote node.
106106

107107
This technique should work with any remote debugger, but we do not guarantee any particular remote debugging tool will work.
108108

0 commit comments

Comments
 (0)