PhpStorm Debug設置

PhpStorm Debug設置

php 環境開啟xdebug? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (推薦學習:phpstorm

PhpStorm Debug設置

到php.ini 下面查看下 xdebug的配置信息

[xdebug] zend_extension?="c:/wamp64/bin/php/php5.6.35/zend_ext/php_xdebug-2.5.5-5.6-vc11-x86_64.dll" ;xdebug.remote_enable?=?off xdebug.profiler_enable?=?off xdebug.profiler_enable_trigger?=?off xdebug.profiler_output_name?=?cachegrind.out.%t.%p xdebug.profiler_output_dir?="c:/wamp64/tmp" xdebug.show_local_vars=0 xdebug.remote_autostart?=?1????#?這里加上遠程自動開啟,可以省去在瀏覽器中加載xdebug插件的步驟  xdebug.idekey=phpstorm xdebug.remote_enable?=?On xdebug.remote_host=localhost ;xdebug.remote_port默認值為9000,這里需要跟phpstorm配置一致,下面有說明 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.auto_trace?=?On

PhpStorm 配置debug設置

立即學習PHP免費學習筆記(深入)”;

Language & Frameworks > PHP > Debug (把復選框選中去掉,端口默認9000)

PhpStorm Debug設置

Language & Frameworks > PHP > Debug > Servers (添加多個可以調試的地址)

PhpStorm Debug設置

開啟PhpStorm Debug 監聽連接

PhpStorm Debug設置

? 版權聲明
THE END
喜歡就支持一下吧
點贊12 分享