Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable "view output" in remote debug #596

Open
guoyejun opened this issue Mar 31, 2023 · 1 comment
Open

Disable "view output" in remote debug #596

guoyejun opened this issue Mar 31, 2023 · 1 comment
Labels

Comments

@guoyejun
Copy link

I tried both Python 3.9.5 and 3.9.7, pudb are installed with 'pip install pudb' in the conda env.

Here is my python code

from datetime import datetime
import sys
import time
import os

from pudb.remote import set_trace
set_trace()

if __name__ == "__main__":
    print(' '.join(sys.argv))
    begin = datetime.now()
    print("begin process", os.getpid(), "at", begin.strftime('%Y-%m-%d %H:%M:%S'))

run the python code in one terminal:

$ python try.py
pudb:6899: Please telnet into 127.0.0.1 6899.
pudb:6899: Waiting for client...

and run telnet on another terminal, and press 'o' to check the output, then, I'm unable to return back to pudb UI with 'Enter' or any other keys input. There's nothing new appeared in below no matter which key I press.

$ telnet 127.0.0.1 6899
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Hit Enter to return:

Anything I missed? thanks.

@guoyejun guoyejun added the Bug label Mar 31, 2023
@inducer
Copy link
Owner

inducer commented Mar 31, 2023

"View output" should probably just be disabled in a remote-debug setting.

@inducer inducer changed the title remote debug - unable to back to pudb UI Disable "view output" in remote debug. Mar 31, 2023
@inducer inducer changed the title Disable "view output" in remote debug. Disable "view output" in remote debug Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants