Breakpoint doesn't work in debug mode (the source maps are exist inside of the result module.js file).

Here is my new simple project. It has the set of configurations: Build module, Debug, Unit testing, and Build docs.

Build module configuration creates the single module.js file. This file is used by Debug configuration in debug mode (Shift + F9).

My code is successfully translated from TypeScript into JavaScript. The resulting file (module.js) contains inlined source maps.

I set the breakpoint in the entry.ts file, but this breakpoint doesn't work. Why does it happen?

If I do something wrong with the project configuring for WebStorm then tell me about it, please (I want to learn how to correctly use WebStorm).

Thank you!

 

0
6 comments

It just works for me... I didn't change anything:

- run `npm run start` to build a bundle

- select Debug run configuration, press Debug:


0

Hm... I do the same but breakpoint doesn't work for me. Windows 10 x64, WebStorm 2017.2.

0

Works for me in both 2017.2.5 and 2017.3.

What Node.js version do you use?

0

I am at home now. At home, it works for me too. I have the problem at my office. I will at the office on Tuesday and will check it again. Now three days off.

Thank you.

0

Ok, please keep me posted:) happy holidays!

0

In the office on my computer was installed Node.js v6.11.2. I uninstalled this version and installed Node.js v8.9.1. Now breakpoints work.

Thank you!

0

Please sign in to leave a comment.