Skip to content

Commit

Permalink
Add note about OS X. Closes #9.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc authored May 9, 2017
1 parent c35f589 commit 5bdc318
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ Alternately, one can connect with NetCat: ``nc -C 127.0.0.1 4444`` or Socat: ``s
tcp:127.0.0.1:4444`` (for line editing and history support). When finished debugging, either exit
the debugger, or press Control-c.

Note about OS X
===============

In certain scenarios (backgrounded processes) OS X will prevent readline to be imported (and readline is a dependency of pdb).
A workaround (run this early):

... sourcecode:: python

import signal
signal.signal(signal.SIGTTOU, signal.SIG_IGN)

See `#9 <https://github.com/ionelmc/python-remote-pdb/issues/9>`_ and `cpython#14892 <http://bugs.python.org/issue14892>`_.

Requirements
============

Expand Down

0 comments on commit 5bdc318

Please sign in to comment.