My project is laid out as so:
${workspaceFolder}
/wwwroot
/res
The /res directory is for serving files through a secure controller.
My issue is when it comes to source debugging in vscode via the "Debugger for Chrome" (or Edge) extensions.
If I put a breakpoint in a JS file in vscode, it will work properly if the file exists under the wwwroot directory (it stops at that point in the source).
But if the js file is served from the /res directory (to /res in the web browser), vscode will open up a new instance of that file, rather than the source instance.
I think I need to do some kind of directory mapping for the debugger to translate http://localhost/res to ${workspaceFolder}/res for debugging the source files, but am unsure of the proper setup (possibly needing to set sourceMapPathOverrides, but my attempts have failed.).
Any help with this is appreciated.