While using Visual Studio Code, I have encountered an issue where breakpoints set in my .ts file are not being hit (and do not turn red during debugging).
Interestingly, if I set a breakpoint in the compiled JS file, it then redirects me to the ts file as I navigate through the code. This action somehow triggers any previously unresponsive breakpoints in my .ts file.
Is there a way to ensure that breakpoints in .ts files work seamlessly without the need to first set one in the compiled .js file?
It is worth mentioning that I came across a similar inquiry in this question: Setting breakpoints in Typescript Jasmine tests with Visual Studio Code. Although the solution mentioned upgrading to VS Code 0.10.9 and Typescript 1.8.2, I am currently running on VS Code 1.8.1 and Typescript 2.1.4.