我遵循了以下步骤:
修改php.ini并插入以下内容
zend_extension_ts="D:\Program Files\webserver\php\ext\php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.remote_autostart=1
重新启动apache并且XDebug已成功安装。
DBGP已成功安装并配置了127.0.0.1
但是XDebugger仍然无法连接/使用记事本++。
我在这里找到答案
http://thecancerus.com/debugging-php-using-xdebug-and-notepad-part-i/
确保已安装最新版本的Notepad ++。
XDebug现在有了自己的向导。
您所要做的就是将phpinfo输出的内容复制并粘贴到其中。它会为您提供正确的库以及需要添加到php.ini中的详细信息。
不要忘记,您必须在URL后面附加?XDEBUG_SESSION_START=name
才能开始。
我如何配置它以便与Python一起使用?