Currently, I am in the process of debugging a TypeScript project. The structure of the project folder and tsconfig.json file is illustrated below:
https://i.sstatic.net/epIEC.jpg
Furthermore, my launch.json file is displayed below:
https://i.sstatic.net/NRSK0.jpg
While attempting to debug, I have noticed that .map files are being generated. This outcome occurred after making modifications and including the following lines within my launch file:
"sourceMaps": true,
"outFiles": ["${workspaceFolder}\\typeScript\\**\\*.js"]
Despite these configurations, I am puzzled why VS Code continues to display "Breakpoint ignored ..." when setting breakpoints within .ts files. It seems as though VS Code is either unable to locate or misinterpreting the .map file.
Included here is a screenshot showcasing the generated map file. Upon initial inspection, the path appears correct.
https://i.sstatic.net/1aTnL.jpg
A noteworthy observation during the configuration experimentation was the distinction between windows file paths recognized in tsconfig.json (using "\\") versus those found in the .map file (using "/"). I am uncertain if this variance holds any relevance.