Reputation: 645
Whenever I run my mean.io app, I can see all my functions in the aggregated.js. Is there a way to do plain and simple browser debbuging?
This question is for front-end debugging... but it would be great to know how to do backend debugging also.
Upvotes: 2
Views: 1416
Reputation: 173
For those who 'debug: true' doesn't work... try this.
At around line 125, you'll find the following hunk of code. Make the following change:
aggregated[group][ext].weights[filename] = { weight: weight, //data: !this.debug ? ugly.code : code // <---------- comment this out data: code // <----------------- add this }
See attached image for more detail.
Upvotes: 0
Reputation: 676
Updated way is changed a little bit
in config\env\all.js, add a switch: debug: 'true'
hope this helps
Upvotes: 2