Skip to content

Disable "view output" in remote debug #596

Description

@guoyejun

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions