Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch pannel not showing nested data beyond second level #859

Closed
vulkanosaure opened this issue Nov 10, 2022 · 3 comments
Closed

watch pannel not showing nested data beyond second level #859

vulkanosaure opened this issue Nov 10, 2022 · 3 comments

Comments

@vulkanosaure
Copy link

In my left pannel, in the watch list, if i look at an array (nested at multiple levels),
i click on the arrows to unfold the content, but i can only see the root symbol + 1 nested level, but nothing beyond that.

image

on the other hand, if i hover on my symbol in the text editor to have the little modal display the value, it works fine, i can unfold all the nested levels

PHP version: PHP CGI 7.3.33
Xdebug version: v3.1.5
VS Code extension version: v1.29.0

Your launch.json:

{
			"preLaunchTask": "refresh chrome",
			"name": "Listen for XDebug2",
			"type": "php",
			"request": "launch",
			"port": 9000
		}

Xdebug php.ini config:

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

Code snippet to reproduce:

zend_extension = xdebug
xdebug.output_dir ="D:/wamp/tmp"
xdebug.show_local_vars=0
xdebug.log="D:/wamp/logs/xdebug.log"
xdebug.log_level=7
xdebug.client_port=9000
xdebug.mode = debug
xdebug.start_with_request = yes
@zobo
Copy link
Contributor

zobo commented Nov 10, 2022

Add max_depth under xdebugSettings in launch.json. I'll link some relevant tasks to explain the issue later.

@vulkanosaure
Copy link
Author

thanks that solved it !

@zobo
Copy link
Contributor

zobo commented Nov 10, 2022

For completeness sake. #808 tracks the underlying issue.

@zobo zobo closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants