We use this setting in development:
- we develop our angular project in typescript using IntelliJ IDEA
- transpile our typescript code to javascript with grunt-ts
- concatenate all transpiled javascript files to one singe all.js file using grunt-contrib-concat
- all.js file is referenced in html
The problem is that we run our app from concatenated all.js file so we can't debug it. Any ideas on how can we debug our source code in typescript? Is there any development-wise solution or advice to this?
gulp-typescriptplugin and for development purposes we reference all the.jsfiles in.htmlpage. Then I simply debug JS files through Google Chrome. It works for me very well.outFileandsourceMapsoptions intsconfigand get rid of grunt-concat.modeset to "commonjs"? In any case using something like grunt-browserify might be a good solution.