Is it possible to see Special Characters in the debugger?
I'm using PHPStorm 3.0.2 with XDebug.
When I have a variable with a string that contains special characters, such as \n or \r, they are not visible in the debugger.
For example, if $x = "First Line\nSecond Line";
and I examine this variable in the debugger, it shows the value to be "First LineSecond Line". Note the missing \n.
If I copy the value from the variables tab in the debugger and paste it into something, it is clear that the \n is actually there.
Is there a way to get PHPStorm to display the \n character (and other special characters like \t) in a way I can see. I would be happy with it showing up as "\n", or as an actual new line.
Please sign in to leave a comment.
Hi, Rik,
Sorry for the delay.
Unfortunately there is no way to make special characters visible now. I submitted an issue about that - http://youtrack.jetbrains.com/issue/WI-10936.
We'll try to fix it in the nearest PhpStorm update.
Thank you for feedback!
Rik,
Fixed in the next major release (5.0).
Thank you for feedback!
Nice
So .. when v5 is planned to be released (approx, of course :) )
Andriy,
by Q4 2012.
Thank you for feedback!