Netbeans XDebug环境搭建

来源:互联网 发布:青岛知行国际 虚假 编辑:程序博客网 时间:2024/05/23 00:04


在搭建好WAMP环境后,接下来就可以配置IDE工具Netbeans了,使用NetBeans创建好工程后,若希望单步调试,则需要增加对XDEBUG的支持。

我安装的WAMP版本为2.2,已经附带有Xdebug所需的DLL文件,因此只需要在php.ini中开放即可:

配置抄的网友的:

[xdebug]
xdebug.remote_enable = On


xdebug.profiler_enable = Off


xdebug.profiler_enable_trigger = Off

xdebug.profiler_output_name = cachegrind.out.%t.%p

xdebug.profiler_output_dir = "D:/wamp/tmp"

xdebug.remote_host = localhost

xdebug.remote_port = 9000

xdebug.remote_handler = dbgp


重启WAMP,在页面中通过phpinfo(),打印信息中可以查看到XDEBUG是否配置成功。

接下来就可以进入NetBeans进行类VC的调试开发了。

0 0
原创粉丝点击