martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
565 stars 89 forks source link

XDebug not displaying nested arrays, possible fix #128

Open cpagravel opened 9 years ago

cpagravel commented 9 years ago

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.

gfargo commented 7 years ago

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

tchalvak commented 7 years ago

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