1.Vagrant (LInux)环境下 Xdebug 配置 :浏览器
zend_extension=xdebug.so xdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_port = 9100 xdebug.idekey = "PHPSTORM" xdebug.remote_autostart = 1 xdebug.remote_handler="dbgp" xdebug.remote_mode="req"
2.PHPtorm 配置:app
RUN->Start Listening for PHP debug connections->打断点->debugide
若是调试过程当中遇到这种状况, 是由于调试代码没有映射好, 直接点击 click to set up path mapping, 映射好代码就能够继续调试了。测试