如何在 Dreamweaver cs5 中调试 php 代码?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7063454/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to debug php code in dreamweaver cs5?
提问by rahul dagli
If it doesn't support debugging are there any extensions or plugins out there?
如果它不支持调试,是否有任何扩展或插件?
回答by Pascal MARTIN
Dreamweaver, even if it supports syntax-highlighting of PHP source, isn't quite known as a PHP-development environment ; so I'm not sure it supports debugging of PHP code.
Dreamweaver 即使支持 PHP 源代码的语法突出显示,也不是众所周知的 PHP 开发环境;所以我不确定它是否支持 PHP 代码的调试。
Instead, I would recommend you use another more PHP-Oriented IDE, like :
相反,我建议您使用另一个更面向 PHP 的 IDE,例如:
- Eclipse PDT(free -- not sure if it's maintained as much as it was a couple of month ago)
- netbeans(free)
- PHPStorm(not free)
- Eclipse PDT(免费 - 不确定它是否像几个月前一样维护)
- 网豆(免费)
- PHPStorm(非免费)
Those three all support debugging with the Xdebugextension.
这三个都支持使用Xdebug扩展进行调试。
回答by Chamilyan
You can use FirePHP with Firebug on any IDE including Dreamweaver. http://www.firephp.org/
您可以在包括 Dreamweaver 在内的任何 IDE 上使用 FirePHP 和 Firebug。http://www.firephp.org/