简体   繁体   English

通过Netbeans调试PHP代码

[英]Debug PHP code via Netbeans

I have setup a new application with Laravel Framework on my localhost. 我在本地主机上使用Laravel Framework设置了一个新应用程序。 Now my next goal is to debug the php code via Netbeans. 现在,我的下一个目标是通过Netbeans调试php代码。 According to many tutorials they have asked to setup xDebug for debugging. 根据许多教程,他们要求设置xDebug进行调试。

Will I need xDebug to do debug on localhost? 我需要xDebug在本地主机上进行调试吗? or is that only for remote debugging? 还是仅用于远程调试?

Yes, you can configure xDebug to work on the localhost .. 是的,您可以将xDebug配置为在localhost上运行。

Please check this tutorial on how to configure it properly on localhost. 请检查教程,了解如何在本地主机上正确配置它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM