打开debug config,新建一个调试项目,选择XDebug
在xampp的php目录中,修改php.ini,取消掉以下注释并开启
zend_extension = "D:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
这样就能完成调试了。配置apache等不再描述。
没有评论:
发表评论