{ Hello Magento 2 }

解决 Magento 2 应用问题,更注重深度挖掘。(ง •̀_•́)ง

0%

php debug

postman 请求断点调试

请求地址 + ?XDEBUG_SESSION_START=PHPSTORM for example:

1
http://wendym230ce.me/test/index/index?XDEBUG_SESSION_START=PHPSTORM

php cli 远程断点调试

1
2
export XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9000 remote_host=XX.XX.XX.XX remote_connect_back=1"
export PHP_IDE_CONFIG="serverName=wendym231ce.me"

参考网址

PHP 调试 Debugging a PHP CLI script