inducer / inducer/pudb

Suggestion: combine tmux with pudb

Open
#324 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

Debug remote process is not the easiest task today.
Usually you have access to the running machine/container but since its impossible to attach the debugger to running process you need to use telnet connection / kill the process and rerun it in your terminal.

from my experience using the telnet debugger is much less smooth then using the debugger directly.

The new addition of opening the debugger in different terminal works much more better.
to make it more easy to use i thought of mixing tmux with pudb.

the user will do something like:
```python
from pudb.tmux import set_trace; set_trace("my_session")
```

it will open new session with the name "my_session" (or "my_sessionX" if "my_session" exist)
get its tty and set the pudb to write to this terminal

i'd like to get your comments about it.
how do you manage to debug remote processes? will it be valuable for you?
is it something worth putting in this repository? new package?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.