title: Debugging TypeScript Node project in WebStorm does not stop at breakpoints
body: <p>I am failing to debug TypeScript Node.js app. When running WebStorm debugger it executes my index.ts file but it does not stop at the breakpoints.</p>
  <p>I get in the console:</p>
  <blockquote>
  <p>Debugger listening on ws://127.0.0.1:55316/c3ce6255-5746-45a1-bfbf-d7f07d6e84d4<br />
  For help, see: <a href="https://nodejs.org/en/docs/inspector" rel="nofollow noreferrer">https://nodejs.org/en/docs/inspector</a><br />
  Debugger attached.<br />
  Hsswswsello, World! 5<br />
  Waiting for the debugger to disconnect...</p>
  </blockquote>
  <p>tsconfig.json</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;compilerOptions&quot;: {
      &quot;target&quot;: &quot;es5&quot; /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
      &quot;module&quot;: &quot;commonjs&quot; /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
      &quot;lib&quot;: [
        &quot;es6&quot;
      ] /* Specify library files to be included in the compilation. */,
      &quot;sourceMap&quot;: true,
      &quot;allowJs&quot;: false /* Concatenate and emit output to single file. */,
      &quot;outDir&quot;: &quot;build&quot; /* Redirect output structure to the directory. */,
      &quot;rootDir&quot;: &quot;src&quot; /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
      &quot;strict&quot;: true /* Enable all strict type-checking options. */,
      &quot;noImplicitAny&quot;: true /* Raise error on expressions and declarations with an implied 'any' type. */,
      &quot;esModuleInterop&quot;: false /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
      &quot;resolveJsonModule&quot;: true /* Include modules imported with '.json' extension */,
      &quot;skipLibCheck&quot;: true /* Skip type checking of declaration files. */,
      &quot;forceConsistentCasingInFileNames&quot;: true, /* Disallow inconsistently-cased references to the same file. */
      &quot;inlineSources&quot;: true
    },
    &quot;exclude&quot;: [&quot;spec&quot;, &quot;build&quot;, &quot;node_modules&quot;, &quot;jest.config.js&quot;]
  }
  </code></pre>
  <p>package.json</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;name&quot;: &quot;fe&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;npx jest --env=jsdom&quot;,
      &quot;test:watch&quot;: &quot;jest --watch&quot;,
      &quot;start&quot;: &quot;webpack serve --open --config webpack.dev.js&quot;,
      &quot;build&quot;: &quot;NODE_ENV=production webpack --config webpack.prod.js&quot;,
      &quot;lint:check&quot;: &quot;eslint . --ext .ts&quot;,
      &quot;lint:fix&quot;: &quot;eslint . --ext .ts --fix&quot;,
      &quot;lint&quot;: &quot;prettier --config .prettierrc 'src/**/*.ts' --write&quot;
    },
    &quot;husky&quot;: {
      &quot;hooks&quot;: {
        &quot;pre-commit&quot;: &quot;lint-staged&quot;
      }
    },
    &quot;lint-staged&quot;: {
      &quot;./**/*.{js,jsx,ts,tsx,json,css,scss,md}&quot;: [
        &quot;npm run lint&quot;,
        &quot;npm run lint:check&quot;
      ]
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;devDependencies&quot;: {
      &quot;@babel/preset-env&quot;: &quot;^7.14.2&quot;,
      &quot;@babel/preset-es2015&quot;: &quot;^7.0.0-beta.53&quot;,
      &quot;@types/jest&quot;: &quot;^26.0.23&quot;,
      &quot;@typescript-eslint/eslint-plugin&quot;: &quot;^4.24.0&quot;,
      &quot;@typescript-eslint/parser&quot;: &quot;^4.24.0&quot;,
      &quot;babel-jest&quot;: &quot;^26.6.3&quot;,
      &quot;babel-plugin-transform-es2015-modules-commonjs&quot;: &quot;^6.26.2&quot;,
      &quot;clean-webpack-plugin&quot;: &quot;^4.0.0-alpha.0&quot;,
      &quot;copy-webpack-plugin&quot;: &quot;^8.1.1&quot;,
      &quot;cross-env&quot;: &quot;^7.0.3&quot;,
      &quot;css-loader&quot;: &quot;^5.2.4&quot;,
      &quot;eslint&quot;: &quot;^7.26.0&quot;,
      &quot;fork-ts-checker-webpack-plugin&quot;: &quot;^6.2.10&quot;,
      &quot;html-webpack-plugin&quot;: &quot;^5.3.1&quot;,
      &quot;husky&quot;: &quot;^4.3.8&quot;,
      &quot;identity-obj-proxy&quot;: &quot;^3.0.0&quot;,
      &quot;jest&quot;: &quot;^26.6.3&quot;,
      &quot;jest-puppeteer&quot;: &quot;^5.0.3&quot;,
      &quot;jsdom&quot;: &quot;^16.5.3&quot;,
      &quot;mini-css-extract-plugin&quot;: &quot;^1.6.0&quot;,
      &quot;node-sass&quot;: &quot;^6.0.0&quot;,
      &quot;prettier-webpack-plugin&quot;: &quot;^1.2.0&quot;,
      &quot;sass-loader&quot;: &quot;^11.1.1&quot;,
      &quot;style-loader&quot;: &quot;^2.0.0&quot;,
      &quot;ts-jest&quot;: &quot;^26.5.6&quot;,
      &quot;ts-loader&quot;: &quot;^8.3.0&quot;,
      &quot;typescript&quot;: &quot;^4.2.4&quot;,
      &quot;webpack&quot;: &quot;^5.37.1&quot;,
      &quot;webpack-cli&quot;: &quot;^4.7.0&quot;,
      &quot;webpack-dev-server&quot;: &quot;^3.11.2&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@babel/preset-typescript&quot;: &quot;^7.13.0&quot;,
      &quot;eslint-webpack-plugin&quot;: &quot;^2.5.4&quot;,
      &quot;lint-staged&quot;: &quot;^11.0.0&quot;,
      &quot;prettier&quot;: &quot;^2.3.0&quot;
    }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/8xK0o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8xK0o.png" alt="enter image description here" /></a></p>