位置 File -> Edit Template -> PHP(php.ini) 选择 PHP 版本 在 xdebug 项加入
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.idekey="PHPSTORM"
位置 PhpStorm -> Preferences -> Languges & Frameworks -> PHP -> Servers
安装 Xdebug 插件。 安装完成之后在 Chrome 插件的地方右击选择 选项