enable Xdebug shell
文章目录
To enable PHP Debuging with Xdebug on the shell/command line with Phpstorm is very easy:
export XDEBUG_CONFIG="idekey=PHPSTORM"
In windows CLI, use set instead of export.
set XDEBUG_CONFIG="idekey=PHPSTORM"
Ensure Phpstorm is listening to the PHP Debug connections.
To disable debugging from command line end:
unset XDEBUG_CONFIG
This (PHPSTORM) is the default Phpstorm IDE-Key.
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论