Typescript and breakpoints

Jul 25, 2014 at 12:10 PM
I have a problem with breakpoints in typescript. It happens that when breakpoint is hit, VS shows js file and not TS file and after that stepping is only possible through js file. This is very annoying especially because when I want to add another breakpoint I have to find corresponding ts file and add it there.

The problem is present in latest Beta 2, but the same was with older versions and it happens mostly in big/multifile node project.

Jul 27, 2014 at 1:16 PM
I have also observed this behaviour. This bug doesn't occur on every single occasion. On some files the debugger stops correctly in the TypeScript file, but on other files the breakpoint goes to the JavaScript file. I've checked to make sure the source maps are enabled and generated for all files.