Is it possible to compile all my typescript into an single file (app.js etc.) and debug inside the .ts files ?
1 Answer
You have a few options here.
Use Source Maps to debug your TypeScript - only supported in a couple of browsers.
Get cosy with the JavaScript - the more you debug in pure JavaScript using browser consoles, the better your understanding will be.
Bundle for debug and test / live separately. If you debug over multiple files you can do it in Visual Studio. You can then use the single file on other environments.
1 Comment
MR.ABC
i use sourcemaps. i like to compile all typescript in a single .js file and then debug my typescript files. it doesnt work since the compiler create only the sourcemap for the single .js file.