When I run php script in phpstorm, I see echo message only when i stop script Follow
I run script in phpstorm (shift+f10) with that code:
while (true) {
sleep(1);
echo 'Test ';
}
While script running in phpstorm, I do not see output messages in window.
But, when i stopped it, I saw all output messages.
I do not want to use PHP_EOL, I want to see output messages such as i run that script in console in real time
Please sign in to leave a comment.
Unfortunately, there doesn't seem to be a way to achieve that at the moment.
I've pushed it to our issue tracker, please vote for the request to get notified when there's any progress with it: https://youtrack.jetbrains.com/issue/WI-67864/WSL-Interpreter-repetitive-output-delayed-until-the-script-stops