Php 如何使用Netbeans调试Symfony3?
我无法用Netbeans调试Symfony 3 我执行了以下步骤: 1) 我在ubuntu上安装了php5-xdebug 2) 我修改了php.ini文件,如下所示:Php 如何使用Netbeans调试Symfony3?,php,netbeans,symfony,xdebug,Php,Netbeans,Symfony,Xdebug,我无法用Netbeans调试Symfony 3 我执行了以下步骤: 1) 我在ubuntu上安装了php5-xdebug 2) 我修改了php.ini文件,如下所示: zend_extension="/usr/lib/php5/20121212/xdebug.so" xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remot
zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.max_nesting_level=300
3) 我重新启动了apache
4) 在Netbeans上,我设置运行配置->高级->不打开Web浏览器
5) 我为Firefox安装了easy Xdebug插件
6) 我使用控制台命令php-bin/console-server:start启动应用程序
7) 我使用Netbeans将断点放在控制器操作上
8) 我开始用Netbeans进行调试
9) 我在url上搜索
Q-页面将正常加载,调试不会在断点上进行。我错在哪里
谢谢要使用PHP内置服务器调试应用程序,请执行以下步骤:
使用NetBeans IDE 8.2完成后,您将Apache的httpd服务器(3)与内置的php http服务器(6)混合使用。好的,现在我只使用Apache,如图所示。现在使用Netbeans进行调试工作,谢谢!