草庐IT

php - Sublime Text 3 : how to see the sub-array content in the Xdebug context 中的 Xdebug

coder 2024-01-01 原文

当我用 Xdebug 设置一个断点时,我可以看到当前环境变量的内容。其中一些变量是一个数组,里面有另一个数组。我不知道如何查看该子数组的内容:

这可能吗?怎么办?

最佳答案

将以下内容添加到 Xdebug 插件的用户配置文件中(Preferences > Package Settings > Xdebug > Settings - User):

{
    "max_depth": 2
}

那是一个子数组。如果你想要一个子子数组,只需键入:"max_depth": 3...

关于php - Sublime Text 3 : how to see the sub-array content in the Xdebug context 中的 Xdebug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27555839/

有关php - Sublime Text 3 : how to see the sub-array content in the Xdebug context 中的 Xdebug的更多相关文章

随机推荐