phpstorm安裝步驟以及xdebug phpstorm調試
打開你的hosts文件,加上
進入網站 http://idea.lanyus.com/ 獲取註冊碼。
phpstorm 漢化
下載漢化包
https://download.csdn.net/my
把這個壓縮包直接放到 phpstorm安裝目錄lib下
關掉phpstorm 重新打開 就漢化成功了
接下來就是配置phpstorm了
host 填寫本地域名 127.0.0.1 或 自己創建的域名
配置xdebug
php.ini
[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
zend_extension="D:\phpStudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll"
xdebug.remote_enable = On
xdebug.remote_host="127.0.0.1"
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
xdebug.idekey="PHPSTORM"
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
---------------------