Answer the question
In order to leave comments, you need to log in
How to install xdebug in Bitrix web environment under Windows?
Good afternoon!
I am new to Bitrix, I have a Bitrix web environment of the "Corporate Portal" version installed on my windows development machine. I wanted to use not only var_dump for debugging, but also xdebug. I'm trying to set up xdebug in a web environment - it doesn't work. Check Bitrix php settings.
C:\Bitrix\apache2\zendserver\bin\php.exe -i
php version 5.3.2
thread safety: disabled
VC9.0
Architecture: x86
zend_extension="Apache2\ZendServer\lib\ZendExtensionManager.dll"
[xdebug]
zend_extension="C:\Bitrix\apache2\zendserver\lib\phpext\php_xdebug-2.2.0-5.3-vc9-nts.dll"
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = On
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_connect_back = On
xdebug.remote_port = 9000
xdebug.idekey = "sublime.xdebug"
xdebug.overload_var_dump = On
xdebug .remote_autostart = On
xdebug.default_enable = On
xdebug.auto_trace = On
Answer the question
In order to leave comments, you need to log in
It was also necessary, I had to tinker, it worked for me like that. For the Bitrix Windows environment (BitrixEnv version 2.1 Savanna edition) we write in php.ini like this:
[xdebug]
zend_extension="Apache2\ZendServer\lib\phpext\php_xdebug-2.1.2-5.3-vc9-nts.dll"
... (and further xdebug parameters as needed)
We first put the corresponding version of xdebug (php_xdebug-2.1.2-5.3-vc9-nts.dll) into the phpext folder and, most importantly, in php.ini, the [xdebug] section must be placed before [zend], otherwise Apache will crash.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question