xdebug+phpstorm+(chrome|postman)を使用してphpをデバッグ
1.基本情報:
2.xdebugのインストール
3.phpstormの構成
4.chromeプラグインxdebug helper
5.xdebug helper構成
6.chromeのテスト
7.終了
window 7
php:7.1.3
phpstorm:2017.1
xdebug:2.5.1
postman
postman interceptor
chrome
xdebug helper
2.xdebugのインストール
1) xdebug https://xdebug.org/
2) php.ini
[xdebug]
zend_extension="E:\phpstudy\php\php-7.1.3-nts\ext\php_xdebug-2.5.1-7.1-vc14-nts-x86_64.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="PHPSTORM"
3.phpstormの構成
1) php server
( : , )
2)debug
4.chromeプラグインxdebug helper
:https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?utm_source=chrome-app-launcher-info-dialog
5.xdebug helper構成
6.chromeのテスト
1)
2)
3)
4) phpstorm, debug
5)
6) ,
7) postman api
postman
7.終了
, , , ,
。