A
A
Arseniy Shkarlatov2020-03-11 05:57:43
1C-Bitrix
Arseniy Shkarlatov, 2020-03-11 05:57:43

How to debug Bitrix link site using xdebug?

Good day to all!

Tell me how to properly configure the mapping of the remote site of the link (the second site) in Bitrix?

At the moment, I have configured PHPStorm to look for a directory /ext_www/mysite/bitrixin /www/bitrix, I put a break point in /ext_www/mysite/index.phpon the line where it connects /www/bitrix/header.php, it works fine, but after pressing Step into it should fail in /www/bitrix/header.php, but it doesn’t fail, and the session freezes, but in the xdebug logs it says that it is looking for the file correctly :

<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="19" status="break" reason="ok"><xdebug:message fil
ename="file:///home/bitrix/www/bitrix/header.php" lineno="1"></xdebug:message></response>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question