phpStorm连接xdebug:修订间差异

来自个人维基
跳转到导航 跳转到搜索
Hovercool留言 | 贡献
无编辑摘要
 
Hovercool留言 | 贡献
无编辑摘要
 
第1行: 第1行:
一、配置php.ini
一、配置php.ini
*注:
:Ubuntu路径 /usr/local/lib/php.ini
<pre>
<pre>
zend_extension = "c:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9.dll"
zend_extension = "c:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9.dll"

2017年11月23日 (四) 08:04的最新版本

一、配置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: