php7+nginx+netbeans使用debug配置注意
首先php.ini中如下配置
[XDebug]
xdebug.profiler_output_dir=”C:\phpStudy\PHPTutorial\tmp\xdebug”
xdebug.trace_output_dir=”C:\phpStudy\PHPTutorial\tmp\xdebug”
zend_extension=”C:\phpStudy\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug.dll”
xdebug.remote_enable =1
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_mode = req
xdebug.remote_port = 9001
xdebug.idekey=netbeans-xdebug
output_buffering = Off
Nginx如下修改配置

然后就是NetBeans的配置项修改了

|