vscode-php-debug icon indicating copy to clipboard operation
vscode-php-debug copied to clipboard

Feature request: make it possible to inspect variables with a of a multiline string.

Open castilma opened this issue 3 years ago • 1 comments

PHP version: 8.0.0 Xdebug version: 3.0.0 VS Code extension version: 1.22.0

Code snippet to reproduce:

$s="some\nmultiline"; #set breakpoint here
echo $s;

The variable section only shows the first line of $s. It's not obvious, how one could see the whole string.


Tell me, if you really need this:

Your launch.json: 
Xdebug php.ini config:

Xdebug logfile (from setting `xdebug.log` in php.ini):
VS Code extension logfile (from setting `"log": true` in launch.json):

castilma avatar Apr 08 '22 17:04 castilma

Hi! That's one of the shortcomings of VS Code. I will research the issue a bit more soon.

zobo avatar Apr 10 '22 13:04 zobo