1.Vagrant (LInux)环境下 Xdebug 配置 :
zend_extension=xdebug.soxdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_port = 9100xdebug.idekey = "PHPSTORM" xdebug.remote_autostart = 1 xdebug.remote_handler="dbgp"xdebug.remote_mode="req"
2.PHPtorm 配置:
RUN->Start Listening for PHP debug connections->打断点->debug
如果调试过程中遇到这种情况, 是因为调试代码没有映射好, 直接点击 click to set up path mapping, 映射好代码就可以继续调试了。
联系客服