View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002259 | Xdebug | Step Debugging | public | 2024-04-04 13:11 | 2025-04-24 16:33 |
| Reporter | info@microteq.ch | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Product Version | 3.3.1 | ||||
| Summary | 0002259: Does not stop on breakpoints when files are located on a UNC path drive | ||||
| Description | When the files to be debugged are located on an UNC drive like \NAS\xyz, instead of a local drive, the breakpoints are never hit and they are marked as unverified. Also using a network attached drive does not help, because the IIS file location configuration is set to the UNC drive. | ||||
| Steps To Reproduce | Add a php project to VS Code and make a php file containing just the xdebug_info() function. Install PHP, Xdebug and IIS locally and the php file on a UNC drive like an NAS (\NAS\xyz). Add a Web site on IIS and let the virtual directory point to the UNC path to the NAS (\NAS\xyz). The set a breakpoint on the xdebug_info() an start xdebug. The breakpoint will be marked as unverified and will never be hit. If you do absoltely the same on a local drive like D:\xyz, everything works as expected. | ||||
| Tags | breakpoint, debug, UNC | ||||
| Operating System | Windows 10 | ||||
| PHP Version | 8.2.0-8.2.9 | ||||
|
|
Please provide the information as is requested on https://xdebug.org/reporting-bugs#step-debugger — there is not enough information here to help me look at this issue. |
|
|
Now here is the debug.log and the xdebug info. If you need any more information, please let me know. Many thanks and best regards. |
|
|
Hi, Sorry for the uberslow reply. Looking at the log, I see that your script file is seen as Can you try to:
I wonder whether I need to relax this check to case-insensitive for the first two elements, if an UNC path is detected on Windows (you're on Windows, right)? cheers, |
|
|
Alternatively, you can perhaps also make a path mapping to work around this — either from |
|
|
@info@microteq.ch Could you please check this out? Otherwise I will close this issue. |
|
|
I can't reproduce this, and there is also no feedback on suggested workarounds. So I am closing this ticket. Feel free to open a new one if you can provide additional information. |