TSConfig
sourceRoot
Specify the location where a debugger should locate TypeScript files instead of relative source locations. This string is treated verbatim inside the source-map where you can use a path or a URL:
{" ": {" ": true," ": "https://my-website.com/debug/source/"}}
Would declare that index.js
will have a source file at https://my-website.com/debug/source/index.ts
.