tomastrajan / angular-ngrx-material-starter

Angular, NgRx, Angular CLI & Angular Material Starter Project
https://tomastrajan.github.io/angular-ngrx-material-starter
MIT License
2.83k stars 916 forks source link

Debugging. #571

Open danrald opened 2 years ago

danrald commented 2 years ago

Hi, I don't know where this question is supposed to go. But can we have a typescript build for debugging? Or just any kind of build for debugging. I don't understand how I'm supposed to debug the app. I'm sure I can figure it out and will submit a build if needed.

Thanks

arekgotfryd commented 2 years ago

Hi @danrald,

what exactly do you want to debug? I hope I can help.

danrald commented 2 years ago

Hi @arekgotfryd , I haven't looked at this starter since I made this comment. Looks like the only build is a production build. I'll edit the build to be a dev build. All the code was packed up.

Thanks

DhruvShahM commented 1 month ago

Hi @danrald

If you want to debug the production build dev app, you just need to enable the "sourceMap": true in the angular.json file. allows you to trace back minified code to the original TypeScript files.