CLion and WSL: dbg console not updated


Hello there,

I have configured an example WSL C project using this guide:

Everything seems to work but 1 thing: When I am debugging, and I step over the next printf statements, I noticed that the debug console is not updated. Only after the program is finished, all the printed traces come in.

And when the program finishes:

Is there a way to change this behavior? I would appreciate all help.



You can try disabling PTY: go to Help | Find Action, type "Registry...", select it and in the opened list find and disable the run.processes.with.pty option (don't restart CLion after that).


Hi Anna,

Thank you for answer. Unfortunately unchecking the run.processes.with.pty checkbox didnt change anything (tried without and with restarting the program).

Do you have any other ideas?


Please sign in to leave a comment.