xdebug配置

装了wamp后,xdebug默认就安装好了,为了能够用netbeans远程调试,配置文件里得加几句

[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

 Netbeans配置

工具选项

  •  常规=>Web浏览器=>Firefox
  •  PHP=>常规=>PHP 5解释器=><wamp>\bin\php\php5.x.xx\php.exe
  •  PHP=>调试:这里默认就行了,默认就是9000号端口

调试

打开要调试的文件,选择“调试=>调试文件”菜单即可

相关文章:

  • 2022-12-23
  • 2021-08-21
  • 2021-04-11
  • 2021-06-28
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-14
  • 2021-10-02
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
相关资源
相似解决方案