简体   繁体   中英

How can I install xdebug?

I want to install xdebug.I am facing problem regarding it. I have download dll file for xdebug. When i was install xdebug the phpinfo(); not displaying that xdebug. So anyone can help me to do this. i have also edit php.ini file after placed xdebug.dll file in ext folder. and is that necessary to install zend for use the xdebug? So please help

[XDebug] 
;zend_extension = "C:\xampp\php\ext\php_xdebug.dll" 
;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1 
;xdebug.profiler_enable_trigger = 0 
;xdebug.profiler_output_dir = "C:\xampp\tmp" 
;xdebug.profiler_output_name = "cachegrind.out.%t-%s" 
;xdebug.remote_enable = 0 
;xdebug.remote_handler = "dbgp" 
;xdebug.remote_host = "127.0.0.1" 
;xdebug.trace_output_dir = "C:\xampp\tmp"

and i have install xdebug.dll file here: C:\\xampp\\php\\ext\\php_xdebug.dll

Aparently you did not enable the debugger:

Note all those ; characters at the beginning of your entries in the [ XDEBUG] section of your php.ini file. They mark that line as a comment, as not active. So in the end you did add a section, but without any active entries!

Remove (some of) these semicolons as mentioned in all manuals. Then test again by calling your phpinfo script!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM