[ENHANCEMENT] implement separate debug view for pycharm
Hi,
Thank you for your work on RobotCode. While using the PyCharm plugin, we noticed that all Robot Framework log messages are printed into the PyCharm Run/Debug Console, including: INFO / DEBUG / TRACE logs TRACE-level keyword details (Arguments / Return) Log messages even when console=False For example:
*** Test Cases ***
Test Conosole
Log should not in console
Log To Console show in console
[Screenshot]
In terminal, only the Log To Console message appears, which follows Robot Framework’s expected behavior. In PyCharm, both messages (and all [TRACE] logs) appear in the console. Question How can we avoid Robot Framework log messages being forwarded into the PyCharm console and keep console output consistent with running robot from terminal? Any guidance would be appreciated. Thank you!
- PyCharm: ALL
- RobotCode Version: ALL
- OS: ALL
- Python Version: ALL
- RobotFramework Version: ALL
- Additional tools like robocop
This is a feature ;-) no, at the moment, just a workaround, because in PyCharm there is no separate Debug output view like in VSCode, you have to develop your own view, for which I did not have the time at the moment.
I change this to an enhancement, so that it will not be lost.
Hi @d-biehl,
Thank you for taking care of this feature! We’re really hoping the enhancement can be completed, because the current console output in PyCharm becomes quite noisy and affects how we use Log To Console.
Just wondering—would there be any workaround to temporarily turn off the debug messages being forwarded to the console? Since TRACE information is already available in log.html, a cleaner console would be very helpful. Thanks a lot!