以下是在vagrant,homestead,phpstorm及vagrant-box中xdebug都安装的前提下
1、确认下file->setting->tools->vagrant配置
image.png
2、配置phpstorm的php执行器
image.png
3、ok下
image.png
4、
image.png
5、
image.png
6、
image.png
7、
image.png
8、
image.png
9、
image.png
10、xdebug配置
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9156
xdebug.max_nesting_level = 500
xdebug.remote_host = 127.0.0.1
xdebug.remote_handler = dbgp
xdebug.idekey = PHPSTORM
xdebug.remote_log = /tmp/xdebug.log
11、配置xdebug,postman
- http://jalan.space/2019/04/10/2019/phpstorm-xdebug-postman/
- postman中cookie设置PHPSESSID与浏览器中登录后的一致

京公网安备 11010502036488号