robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[ENHANCEMENT] implement separate debug view for pycharm

Open mfo7mfo7mfo7 opened this issue 3 months ago • 2 comments

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] Image

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

mfo7mfo7mfo7 avatar Nov 13 '25 19:11 mfo7mfo7mfo7

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.

d-biehl avatar Dec 01 '25 17:12 d-biehl

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!

mfo7mfo7mfo7 avatar Dec 04 '25 20:12 mfo7mfo7mfo7