@@ -28,35 +28,38 @@ dbgpRunFile(
2828 'xdebug.mode ' => 'debug ' , 'xdebug.start_with_request ' => 'yes ' ,
2929 'xdebug.log ' => $ xdebugLogFileName , 'xdebug.log_level ' => 10 ,
3030 'xdebug.path_mapping ' => 'yes ' ,
31- ]
31+ ],
32+ [
33+ 'SanitizeFileUri ' => false ,
34+ ],
3235);
3336
3437echo file_get_contents ( $ xdebugLogFileName );
3538@unlink ( $ xdebugLogFileName );
3639?>
3740--EXPECTF--
3841<? xml version="1.0 " encoding="iso-8859 -1 "?>
39- <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://dbgp-breakpoint-line.inc " language="PHP" xdebug:language_version="" protocol_version="1.0" appid=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
42+ <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/projects/xdebug-test/fake-local-file.php " language="PHP" xdebug:language_version="" protocol_version="1.0" appid=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
4043
4144-> feature_set -i 1 -n breakpoint_details -v 1
4245<? xml version="1.0 " encoding="iso-8859 -1 "?>
4346<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="breakpoint_details" success="1"></response>
4447
4548-> step_into -i 2
4649<? xml version="1.0 " encoding="iso-8859 -1 "?>
47- <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="2" status="break" reason="ok"><xdebug:message filename="file://" lineno="2"></xdebug:message></response>
50+ <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="2" status="break" reason="ok"><xdebug:message filename="file:///var/www/projects/xdebug-test/fake-local-file.php " lineno="2"></xdebug:message></response>
4851
4952-> breakpoint_set -i 3 -t line -f /var/www/projects/xdebug-test/fake-local-file.php -n 3
5053<? xml version="1.0 " encoding="iso-8859 -1 "?>
5154<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3" id="{{PID}}0001"></response>
5255
5356-> breakpoint_list -i 4
5457<? xml version="1.0 " encoding="iso-8859 -1 "?>
55- <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file://" lineno="3" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></response>
58+ <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///var/www/projects/xdebug-test/fake-local-file.php " lineno="3" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></response>
5659
5760-> run -i 5
5861<? xml version="1.0 " encoding="iso-8859 -1 "?>
59- <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="5" status="break" reason="ok"><xdebug:message filename="file://" lineno="3"></xdebug:message><breakpoint type="line" filename="file://" lineno="3" state="enabled" hit_count="1" hit_value="0" id="{{PID}}0001"></breakpoint></response>
62+ <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="5" status="break" reason="ok"><xdebug:message filename="file:///var/www/projects/xdebug-test/fake-local-file.php " lineno="3"></xdebug:message><breakpoint type="line" filename="file:///var/www/projects/xdebug-test/fake-local-file.php " lineno="3" state="enabled" hit_count="1" hit_value="0" id="{{PID}}0001"></breakpoint></response>
6063
6164-> detach -i 6
6265<? xml version="1.0 " encoding="iso-8859 -1 "?>
0 commit comments