You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I try to set a breakpoint in a project that contains only an index.html file served from the filesystem, I get the following error: Error processing setBreakpoints: SyntaxError: Invalid regular expression
To Reproduce
Steps to reproduce the behavior:
Create new vscode project containing an index.html file with a script block
Create a launch configuration to open the index.html file using path
Start a debugging session
Try to set a breakpoint in index.html
See Error
VS Code Version: 1.56.2
Additional context
I believe this is due to urlToRegex incorrectly handling paths that are partially pre-escaped, which happens if the path ends with index.html. I have a fix that I'm planning on submitting a pull request for.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I try to set a breakpoint in a project that contains only an index.html file served from the filesystem, I get the following error:
Error processing setBreakpoints: SyntaxError: Invalid regular expression
To Reproduce
Steps to reproduce the behavior:
path
VS Code Version: 1.56.2
Additional context
I believe this is due to urlToRegex incorrectly handling paths that are partially pre-escaped, which happens if the path ends with index.html. I have a fix that I'm planning on submitting a pull request for.
The text was updated successfully, but these errors were encountered: