Typescript debugging is not working reliably

I have the latest version of intellij.

I have created a simple hello world typescript application which is working fine.

The typescript compiler within intellij is generating the .js and sourcemaps correctly.

When I right click and select to debug the html page, it opens up in Chrome fine, along with the message that intellij is debugging the page.

But, breakpoints are not reliably hit.  If they are hit, then IntelliJ brings up the transpiled .js file in the editor, not the original typescript file into which I placed the breakpoint.  Some breakpoints are not hit at all.

Can anyone help?  Not being able to reliably and easily debug is a real barrier to adoption.

1 comment
Comment actions Permalink

Please can you attach a project that shows up your issue?


0

Please sign in to leave a comment.