Konubinix' opinionated web of thoughts

Ms-Vscode.js-Debug

Fleeting

the new DAP nodejs debugger

debug adapter uses the outFiles attribute in the launch.json to find all the transpiled .js files, and parses them for a source map, which contains the locations of its associated .ts files

https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_source-maps

sourceRoot is optional - if present, it is prepended to each path in sources, which is an array of paths. The result is an array of absolute or relative paths to .ts files. Relative paths are resolved relative to the source map

https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_source-maps

Notes pointant ici