phpstrom+phpstudy+postman
1.打開phpstudy xdebug 擴(kuò)展
2.修改php.ini?
[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-5.5.38\ext\php_xdebug.dll"
;是否允許Xdebug跟蹤函數(shù)調(diào)用,跟蹤信息以文件形式存儲(chǔ),默認(rèn)值為0
xdebug.auto_trace=1
;是否允許Xdebug跟蹤函數(shù)參數(shù),默認(rèn)值為0
xdebug.collect_params=1
;是否允許Xdebug跟蹤函數(shù)返回值,默認(rèn)值為0
xdebug.collect_return=1
;打開xdebug的性能分析器,以文件形式存儲(chǔ),這項(xiàng)配置是不能以ini_set()函數(shù)配置的,默認(rèn)值為0
xdebug.profiler_enable = 1
;性能分析文件的命名規(guī)則,默認(rèn)值為cachegrind.out.%p
xdebug.profiler_output_name = "cachegrind.out.%t.%p"
xdebug.remote_enable = 1
;用于zend studio遠(yuǎn)程調(diào)試的應(yīng)用層通信協(xié)議
xdebug.remote_handler = "dbgp"
xdebug.idekey = phpStorm
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
2.打開phpstorm 按照以下截圖設(shè)置
?
?
?
?
然后點(diǎn)擊postman的send 按鈕就會(huì)跳到phpstorm 打斷點(diǎn)的地方
{
"key":"o",
"searchFields":["enName","name"],
"orderType":"enName",
"start":1,
"num": 10
}
轉(zhuǎn)載于:https://www.cnblogs.com/pangxiaorong/p/7201821.html
總結(jié)
以上是生活随笔為你收集整理的phpstrom+phpstudy+postman的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CentOS6 下Samba服务器的安装
- 下一篇: 【转】PHP面试题总结