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

remote debugging - Cannot disable application log message from garbling up the PuDB UI screen #589

Open
vladp opened this issue Feb 28, 2023 · 3 comments

Comments

@vladp
Copy link

vladp commented Feb 28, 2023

Hello,
I am using latest PIP version of PuDB, python 3.8, running on Rasberry PI, Ubuntu 20 (arm 64).

My file has

from pudb.remote import set_trace
set_trace(term_size=None, host='127.0.0.1', port=6899)

Our app uses 3rd party modules that print a bunch of log messages to stdout, and they did not provide a way to disable this.
When I connect to debug with
telnet 127.0.0.1 6899

These messages mess up PuDB's UI on my telnet session.

Is there a way to fix this? ( I do not need see to see those messages during the debug session at all, or may be they can be redirected, some how, to a 'console output' panel window in the debugger ? )

I saw a reference to somewhat similar issue in SO 4 years ago

https://stackoverflow.com/questions/52974938/redirect-django-runserver-output-in-order-to-debug-with-pudb

However I using remote debugging with telnet

@guoyejun
Copy link

These messages mess up PuDB's UI on my telnet session.
I saw the same issue, it is not convenient.

@guoyejun
Copy link

guoyejun commented Apr 5, 2023

https://stackoverflow.com/questions/52974938/redirect-django-runserver-output-in-order-to-debug-with-pudb

@vladp did you verify that it works? I just tried and it did not work, the messages are still in the telnet terminal.

@axman6
Copy link

axman6 commented Jun 1, 2023

This no longer works, as per #598.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants