On Sep 6, 2017, at 14:59, Terry Reedy <tjre...@udel.edu> wrote: > > Currently, the debugger is started in response to a menu seletion in the IDLE > process while the python process is idle. One reason for the 'idle' > requirement' is because when code is exec-uting, the loop that reads > commands, executes them, and sends responses is blocked on the exec call. The > IDLE process sets up its debugger window, its ends of the rpc channels, and > commands to python process to set up Idb and the other ends of the channels. > The challenge would be to initiate setup from the server process and deal > with the blocked loop.
Would the environment variable idea in the latest version of the PEP help you here? Cheers, -Barry
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com