Mapping of breakpoints drops pathname when it's part of the applicationurl #1308
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
verification-steps-needed
Steps to verify are needed for verification
Milestone
Describe the bug
When the application root includes a pathname (which is very common for IIS), breakpoint resolution drops the pathname, resulting in the breakpoints not being resolved. For instance, in the attached logs the application root is "https://localhost/webapplication10", and the breakpoint is in "https://localhost/webapplication10/js/functions.js", but when resolving the path gets truncated to "https://localhost/js/functions.js".
To Reproduce
This is simplish to reproduce in VS, I'm not sure if it will be so simple to reproduce in vscode.
VS steps are:
At this point, the breakpoint is hit. The root is "http://localhost:xxxx/"
At this point, the breakpoint will not be hit. The root is "https://localhost/appname"
Log File
visualstudio-js-debugger-pathname.txt
Additional Context
This issue was first reported here: https://developercommunity.visualstudio.com/t/After-the-1720-update-Visual-Studio-2/10054778
The text was updated successfully, but these errors were encountered: