PHPStorm Run/Debug window output does not seem to correctly process control codes
I am using PHPStorm to run/debug Jest test files, but the console output is hard to follow as, unlike the PHPStorm terminal, the run and debug windows do not seem to be correctly using the control codes to allow text to be overwritten. Hopefully these 2 screenshots show what I mean - I would expect the run/debug console output to match the output I am seeing from the terminal window.


I thought it previously worked - and I am wondering if I have inadvertently reset some settings somewhere, but I cannot find anything helpful.
Currently running 2020.1.2
Please sign in to leave a comment.
works fine for me in 2020.1.2:
could you share a sample app the issue can be repeated with?
What is the best way to do this - a zip of a project?
I have created a new project, and the same thing happens on my computer. Could it be a global setting I have unknowingly changed in PHPStorm?
Yes, a zip would be fine... Please upload a project along with idea.log (Help > Show Log in...) to some file server and share a link
https://drive.google.com/file/d/17R169W_CZN2MWaSZqhept7hecgL1FE6k/view?usp=sharing
idea.log is in the zip alongside the project directory.
It is a laravel project with the addition of vue's jest test framework added, and although the files are stored locally, I run the tests on a Vagrant box (homestead) - either SSH in (displays as expected) or running a Node.js run config with remote Node interpreter (display doesn't overwrite lines properly). Host, and location of PHPStorm is Windows 10.
Thanks
works fine for me using your project.
Can you repeat the issue when using the local node.js interpreter? What Node.js version do you use?
I don't have Node installed on the Windows host - I have always run node through the VM although the files are in a shared directory.
I had Node 12.16.2 on the Vagrant box, but updated it to 12.18.0 as I created the zipped project.
Using a local node interpreter - I see output expected. Using the Homestead node interpreter, the lines do not overwrite properly. So there appears to be something specific about the interaction of PHPStorm's run/debug window and the output from the Homestead interpreter.
For some reason, PHPStorm seems to think the Homestead version of Node is still 12.16.2, but if I access Node vis SSH into the Homestead box, it tells me I have 12.18.0 installed. I tried removing and re-adding the Homestead Node interpreter - but it remains at 12.16.2