phpStrom phpstudy 开启xdebug
1.phpstudy开启xdebug拓展
2.php.in添加
[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.remote_handler = "dbgp"
xdebug.idekey = PHPSTORM
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9100
xdebug.remote_enable=on
xdebug.remote_autostart = 1
zend_extension="D:\phpStudy\PHPTutorial\php\php-5.4.45\ext\php_xdebug.dll"
1.Languages & Frameworks ->PHP 选择PHP版本
2.PHP->Debug 设置端口9100
3.Debug->DBGp Proxy 设置idekey(phpinfo里),host127.0.0.1 port 项目端口80
4.PHP->server add name:localhost Host:127.0.0.1 port 80 xdebug
5.新增服务器 add PHP WEB Page name:localhost url项目路径

浙公网安备 33010602011771号