Alexander Zeitler

Alexander Zeitler

Debugging Node.js + TypeScript in a Docker Container with WebStorm

Published on Wednesday, April 6, 2016

In order to be able to debug Node.js with TypeScript in a Docker container (or in general: debug remote) using WebStorm, compilerOptions in your tsconfig.json need to contain inlineSources and inlineSourceMap being set to true.

So your tsconfig.json might look like this:

{
  "compilerOptions": {
    "outDir": "build",
    "inlineSources": true,
    "inlineSourceMap": true
  },
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "**/*.spec.ts"
  ]
}
What are your thoughts about "Debugging Node.js + TypeScript in a Docker Container with WebStorm"?
Drop me a line - I'm looking forward to your feedback! email
Imprint | Privacy