在XAMPP中进行PHP调试

san*_*box 7 php debugging xampp wamp xdebug

默认情况下是否在XAMPP/WAMP服务器中安装了任何调试器,或者我们手动下载并配置调试器?还建议使用最好的PHP调试器.

Nov*_*sol 2

如果您想使用 Netbeans 和 Xampp 进行调试,只需打开c:\xampp\php\php.ini并添加这些行。它对我来说就像一种魅力。

xdebug.remote_handler="dbgp"
xdebug.remote_enable=on
xdebug.remote_port =9000
xdebug.remote_enable = 1
xdebug.profiler_enable = off
xdebug.profiler_trigger = off
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.profiler_output_dir = "C:\xampp\tmp"
Run Code Online (Sandbox Code Playgroud)

或者看看这个:看看这个:https://www.youtube.com/watch ?v=HbJOP0YcSjs