phpStorm连接xdebug
来自个人维基
一、配置php.ini
- 注:
- Ubuntu路径 /usr/local/lib/php.ini
zend_extension = "c:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9.dll" [xdebug] xdebug.remote_enable=on xdebug.remote_host=localhost xdebug.remote_handler=dbgp xdebug.remote_port=9000
二、配置PHP Web Application
Run -> Edit Configurations...
三、配置Settings
File -> Settings -> PHP -> Servers:
File -> Settings -> PHP -> Debug:
File -> Settings -> PHP -> Debug -> DBGp_Proxy: