没啥技术含量,纯粹做个笔记
1、wamp php选项中php settings开启xdebug前三项
或者编辑php.ini
zend_extension = "d:/wamp/bin/php/php5.4.16/zend_ext/php_xdebug-2.2.3-5.4-vc9.dll"
[xdebug]
xdebug.remote_enable = On
xdebug.remote_port=9000
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "d:/wamp/tmp"
2、File>Settings>PHP
配置解释器interpreter 为php目录
如D:\wamp\bin\php\php5.4.16
3、File>Setting>PHP>server
端口号确认一下为9000
host:localhost
4、File>Setting>PHP>Debug>DBGp Proxy
IDE key: PHPSTORM
Host:localhost
Port:80
5、chrome下载xdebug helper扩展。