I’m using CLion and the Platformio plugin on Windows 10 to develop programs for an Arduino Nano. The debug build works as expected. When I click the Debug button in CLion, simavr and gdb run and my test program stops at the debug_init_break = tbreak setup. I can then step through the code, view variables and set new breakpoints as required.
However, I would like to monitor the output of my Serial.print() statements and I cannot find out how to do that.
Redirecting output doesn’t seem to be an option as CLion (or Platformio) starts the simavr process rather than me starting it manually.
Can anyone help please?