Can I see changes in browser window while going through breakpoints in debugging session?

If I have for example such script:

<?php
echo "1";
echo "2";
echo "3";
?>

I have set breakpoint on line with "2" and on line with "3". I'm using Chrome with XDebug helper. When execution of the script pauses on line with "2" in browser I can see anything but white screen (empty page). Is it possible to make everything work the way which will make it possible to see in browser "1" if execution is stopped by breakpoint "2" and see "12" if execution is stopped by breakpoint "3".

0

Unfortunately, it's not something PhpStorm can be held accountable for - Xdebug just won't let the interpreter render the page in the web mode until the session is over. In the CLI mode, it works, but not in the web one.

0

请先登录再写评论。