且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用XDebug和PHPStorm调试Symfony2控制台命令

更新时间:2023-11-19 20:45:52

您应提供SERVER_NAME和SERVER_PORT.您还应该启用xdebug.remote_autostart.试试这个:

You should provide SERVER_NAME and SERVER_PORT. also you should enable xdebug.remote_autostart. Try this:

SERVER_PORT=<Your server port> SERVER_NAME='<Your server name>' php -dxdebug.remote_autostart=On app/console test