带有Xdebug的VS代码不显示完整的PHP变量值
我正在使用步骤调试器来调试我的代码。
我有一个存储在$ x
的JSON字符串,我需要复制该值。 但是该值没有完全显示,它只是显示了一半,所以我无法复制它。
有没有办法在没有解决方法的情况下解决它,例如将值写入文件中?
用VSC 1.68.1测试
I'm using a step debugger to debug my code.
I have a json string stored in $x
and I need to copy the value.
But the value is not showing completly, it just shows half of it, so I can't copy it.
Is there a way to solve it without a workaround e.g. write the value into a file?
Tested with VSC 1.68.1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以找到该解决方案在这里。
只需添加以下内容:
到您的
.vscode/laining.json
The solution can be found here.
Just add this:
to your
.vscode/launch.json