Gulp - Angular + TypeScript + Visual Studio Debugging

I used the yomen gulp- angular generator to create an application using TypeScript. I want to debug typescript in visual studio, but also want to keep the gulp tasks from Gulp - Angular as they are.

I turned off the Build On Save feature in visual studio so that I no longer have .ts files. And there were additional suggestions for the visual studio not to be in script type files.

Then I launched the application by completing the "gulp serve" task, and then connected the visual studio to the iexplorer.exe process - script. But typescript breakpoints in visual studio do not fall.

I also checked the final mini-JS file, and it has the source map as a base64 encoded string, and not as a path to a separate .map file.

Please suggest a way to do typescript debugging work in Visual Studio.

+5
source share

All Articles