Answer the question
In order to leave comments, you need to log in
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/bitrix
in /www/bitrix
, I put a break point in /ext_www/mysite/index.php
on 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 questionAsk a Question
731 491 924 answers to any question