Currently, in the VSCode environment, in the debug panel, Xdebug only lists 32 elements in arrays and objects. How can I make it echo all elements in the variable?
Asked
Active
Viewed 204 times
1
-
You may have already solved your issue but this question/answer helped me with the same issue: https://stackoverflow.com/questions/49752153/visual-studio-code-debugging-array-evaluation – Gravitoid Oct 19 '21 at 19:38
1 Answers
0
Try adjusting the following settings in your php.ini
file as per your need,
[xdebug]
xdebug.var_display_max_data=2048
xdebug.var_display_max_depth=128
xdebug.max_nesting_level=256
You can find details on these settings here. Please note that configuring these settings with higher values may impact the performance.

Sohel Aman
- 482
- 4
- 6