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.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。