1
我已经阅读并尝试了我已经找到的东西,但是我无法让它工作,它只是在开始调试时一直挂在“正在等待连接(netbeans-xdebug)”。netbeans php - 无法获得断点
我确实安装了xdebug(我正在使用wamp),而且我实际上设法使用了崇高文本2来处理断点(是的,没错!)所以问题不在我个人电脑本身的php/xdebug中,我错过了一些设置。
我的XDebug的php.ini文件:
; XDEBUG Extension
[xdebug]
;zend_extension ="c:/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
zend_extension ="c:\wamp64\bin\php\php5.6.25\ext\php_xdebug-2.5.4-5.6-vc11-x86_64.dll"
xdebug.remote_enable = 1
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0
xdebug.remote_hander =dbgp
xdebug.remote_mode = req
xdebug.remote_host =127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey=netbeans-xdebug
xdebug.remote_connect_back=1
xdebug.remote_autostart=1
Netbeans的调试选项被设置为默认值,但我未选中“停在第一行”怎么我读的地方这样做。
如果你需要更多的信息,让我知道。