Closed sivakumar-kailasam closed 9 years ago
That seems like a good idea! I'm thinking the addon should have Ember's debugStatements
inside the extension, and then merge them with debugStatements passed in through options. There should still be a check for enableStripDebug
imo, but it can default to true.
If you want to submit a PR for it, that would be great! :)
:+1: will do it sometime over the weekend. Can you bump and publish a new version for #7
Some users might want to use this package just to strip away debug and assert messages and instead of providing the config shown below, would it make sense to have a boolean option like stripDebugAndAsserts which can set these options internally?
If you find this useful I can make the change and send a PR