google / pyringe

Debugger capable of attaching to and injecting code into python processes.
Other
1.63k stars 78 forks source link

Ability to open PDB via injected code #2

Open TehMillhouse opened 10 years ago

TehMillhouse commented 10 years ago

It should technically already possible to inject a PDB session (with some caveats, as always), but it's sort of tedious (manually creating an IPC channel (usually a socket) to the debugger, wrapping it in a file-like object, and starting pdb with that as its I/O channel).

There should be a function wrapping all of this into a single command.

gcavalcante8808 commented 5 years ago

Is there any news on this? I just tried to use the pdb() but it just returns a NotImplementedError.