View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001939 | Xdebug | Step Debugging | public | 2021-01-25 11:21 | 2021-02-18 13:06 |
Reporter | bergafabio | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | windows | OS | WIndows 10 and 2012 R2 server | OS Version | IIS 8.5 |
Product Version | 3.0.2 | ||||
Summary | 0001939: Breakpoints unresolved and skipped when web site root is a UNC path in internet information service (8.5) | ||||
Description | Windows 10 and 2012 R2 server. IIS 8.5. php 7.4.14 . xdebug 3.0.2 IDE Net bean 12, or PhPstorm 2020.2 When the web site root is in a network folder share and mapped as UNC path in Internet Information Service , breakpoint are skipped and in xdebug.log are reported as unresolved for example [14720] [Step Debug] <- breakpoint_set -i 17 -t line -f file:///share/bla/bla/bla/www/tmp_2.php -n 12 [14720] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="17" id="147200003" resolved="unresolved"></response> But the scrips stop at the first line, and cliccking "Resume Program (F9)" it stops at the xdebug_brak(); line. "Step Over (F8)", "Step Into (F7)",... work . If the same network project folder is mapped in a local folder using a windows symbolic lync (for example Physical path in iis c:\wwwlocalsite\symboliclinkroot) , xdebug works fine, and stops at every breakpoints. This problem arises from xdebug 2.8 and above. With php 7.3.20 and xdebug 2.7.2 , using the same php network project folder, and setting the UNC Physical path in IIS, brakpoints are correctly resolved (and hit) | ||||
Steps To Reproduce | Write any simple script on a network folder and map it in IIS as UNC path. Open in a IDE as NetBean or PhpStorm (probably every other), set some breakpoints and try to hit them. | ||||
Tags | iis, path, windows | ||||
Operating System | Windows 10 and 2012 R2 Server | ||||
PHP Version | 7.4.10-7.4.19 | ||||
|
php.ini xdebug section configuration zend_extension = "C:\PHP\PHP_7-4-14\ext\php_xdebug-3.0.2-7.4-vc15-nts-x86_64.dll" xdebug.mode=debug xdebug.client_host=localhost xdebug.client_port=9003 xdebug.start_with_request=yes xdebug.log="C:\temp\xdebuglog.log" xdebug.idekey = PHPSTORM xdebug.discover_client_host = true |
|
IIS 10.0 in case of Windows 10. IIS 8.5 in Woindows 2012 R2 |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-01-25 11:21 | bergafabio | New Issue | |
2021-01-25 11:21 | bergafabio | Tag Attached: iis | |
2021-01-25 11:21 | bergafabio | Tag Attached: path | |
2021-01-25 11:21 | bergafabio | Tag Attached: windows | |
2021-01-25 13:21 | bergafabio | Note Added: 0005658 | |
2021-01-29 12:17 | bergafabio | Note Added: 0005661 |