关于《phpStudy+PhpStorm+XDebug配置》

1.查看phpstudy的php版本

一、配置前说明:

1、phpStudy集成了XDebug扩展,所以不用单独下载XDebug。
2、打开XDebug扩展:其它选项菜单 > PHP扩展 > Xdebug

二、修改php.ini文件:
[XDebug]
;zend studio xdebug 配置
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir =”E:\phpStudy\tmp\xdebug”
;xdebug.trace_output_dir =”E:\phpStudy\tmp\xdebug”
;xdebug.profiler_output_name = “cache.out.%t-%s”
;xdebug.remote_enable = 1
;xdebug.remote_handler = “dbgp”
;xdebug.remote_host = “192.168.1.244”
;xdebug.remote_port =”9002″
;zend_extension=”E:\phpStudy\php55\ext\xdebug.dll”
;xdebug.remote_log=”E:/debug/remote.log”
zend_extension=”E:\phpStudy\php55\ext\xdebug.dll”
;是否允许Xdebug跟踪函数调用,跟踪信息以文件形式存储,默认值为0
xdebug.auto_trace=1
;是否允许Xdebug跟踪函数参数,默认值为0
xdebug.collect_params=1
;是否允许Xdebug跟踪函数返回值,默认值为0
xdebug.collect_return=1
;函数调用跟踪信息输出文件目录,默认值为/tmp
xdebug.trace_output_dir =”E:\phpStudy\tmp\xdebug”
;性能分析文件的存放位置,默认值为/tmp
xdebug.profiler_output_dir =”E:\phpStudy\tmp\xdebug”
;打开xdebug的性能分析器,以文件形式存储,这项配置是不能以ini_set()函数配置的,默认值为0
xdebug.profiler_enable = 1
;性能分析文件的命名规则,默认值为cachegrind.out.%p
xdebug.profiler_output_name = “cachegrind.out.%t.%p”
xdebug.remote_enable = 1
;用于zend studio远程调试的应用层通信协议
xdebug.remote_handler = “dbgp”
xdebug.idekey = PHPSTORM
xdebug.remote_host = “192.168.1.242”
xdebug.remote_port = 9002

3、选择PHP版本:

File->settings->Languages&Frameworks->PHP->project configuration 设置  php版本 php language level 5.5 interpreter

:E:\phpStudy\php55\php-cgi.exe

然后 在PHP-》Debug-》Xdebug 栏 里的Debug port 改为9002

PHP-》Debug-》DBGp Proxy    填写host 192.168.1.242 port 9002

然后 apply

(文章今日已有 1 人访问,总访问量 8 ::>_<::)
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇