SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

XDebug not displaying nested arrays, possible fix

Open cpagravel opened this issue 10 years ago • 2 comments

I think I have a fix for this. The other thread was closed so this is more appropriate. The problem was that the setting was not being changed for max_depth and nested arrays could not be viewed.

Well what I found is that the directory and file for the XDebug settings was not created as it should have been. The path is:

~/.config/sublime-text-3/Packages/Xdebug Client/Xdebug.sublime-settings

After checking the path it seems that the directory only existed up to "~/.config/sublime-text-3/Packages". So I created the directory "Xdebug Client" and then the file Xdebug.sublime-settings inside.

Afterwards I pased the text which I copied from the document that opens when you go to "Tools > Xdebug > Settings - Default"

I pasted in the file that I created (~/.config/sublime-text-3/Packages/Xdebug Client/Xdebug.sublime-settings).

Then I changed the value for max_depth from 1 to 5.

Restart Sublime. Works beautifully.

cpagravel avatar Jan 16 '15 22:01 cpagravel

Confirming this fix worked for me. Thanks for taking the time to explain your findings @cpagravel!

gfargo avatar Oct 19 '16 18:10 gfargo

So the problem is actually that the folders aren't being created?

tchalvak avatar Nov 03 '16 13:11 tchalvak