
Xdebug no se activa
Publicado por Francisco José (4 intervenciones) el 30/07/2013 14:56:26
Saludos a todos,
Acabo de instalar Xampp 1.8.2. y quiero configurar XDebug, pero estoy teniendo algunos problemas. Narro los hechos:
¿Me he dejado algún paso? ¿He hecho algo mal? ¿Qué ocurre?
Acabo de instalar Xampp 1.8.2. y quiero configurar XDebug, pero estoy teniendo algunos problemas. Narro los hechos:
1. Instalé Xampp en C:\xampp en Windows 8 de 64 bits como administrador.
2. Ejecuté Apache.
3. Se me mostró mensaje del éxito de la instalación. No tengo ningún problema con él y, de hecho, mi página personal funciona perfectamente con Apache.
4. Observé, a través de phpinfo() que:
4.a. El compilador es: MSVC9 (Visual C++ 2008)
4.b. El hilo de seguridad (thread safety) está habilitado.
4.c. La versión de PHP es 5.4.16.
5. Considerando los parámetros anteriores, descargué el xdebug 2.2.3 correspondiente a PHP 5.4 VC9 TS (64 bit).
6. Renombré el archivo xdebug como php_xdebug.dll y lo guardé en C:\xampp\php\ext.
7. Modifiqué C:\xampp\php\php.ini (lo que se halla comentado son los valores originales)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[XDebug]
;zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
zend_extension_ts = "C:\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_dir = "C:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 0
xdebug.remote_enable = On
;xdebug.remote_handler = "dbgp"
xdebug.remote_handler = dbgp
;xdebug.remote_host = "127.0.0.1"
xdebug.remote_host = localhost
;xdebug.remote_port = there_was_not
xdebut.remote_port = 9000
;xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.trace_output_dir = "C:\xampp\tmp"
8. Reinicié Apache.
9. Abrí phpinfo().
10. Observé que XDebug no estaba activado todavía.
¿Me he dejado algún paso? ¿He hecho algo mal? ¿Qué ocurre?
Valora esta pregunta


1