vscode-php-debug
vscode-php-debug copied to clipboard
Feature request: make it possible to inspect variables with a of a multiline string.
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):
Hi! That's one of the shortcomings of VS Code. I will research the issue a bit more soon.