Sanjay Rathod
Sanjay Rathod

Reputation: 1143

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

Upvotes: 0

Views: 749

Answers (1)

arkascha
arkascha

Reputation: 42974

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!

Upvotes: 2

Related Questions