I have created a TypeScript(.ts) file. Which upon save generates a minified JavScript file and a normal(readable) JavaScript file. All this works fine. But the comments I have added is TypeScript file is not visible in auto-generated JavaScript file. Since you cannot debug a TypeScript file (to add breakpoint, one need to use JavaScript file) and comments are not available in JavaScript file, I have to switch between .TS file and .JS file while debugging. Is there way to tell TypeScript, not to remove the comments user have added?
I have created a TypeScript(.ts) file. Which upon save generates a minified JavScript file
Share
If you have WebEssentials installed, you can set this in the WebEssentials Options:

If you do not have WebEssentials installed, stop what you are doing and go install it first from NuGet. This is a great extension that will add all kinds of helpful features for web development.