Added --debug flags #577

merged 2 commits into from Jun 17, 2014


None yet

2 participants

Component member

To address #531

@trevorgerhardt trevorgerhardt changed the title from Added --debug flags #531 to Added --debug flags Jun 16, 2014
@jonathanong jonathanong and 1 other commented on an outdated diff Jun 16, 2014
@@ -41,6 +42,10 @@ program.on('--help', function(){
+// enable debug statements
+if (program.debug) require('debug').enable('component-build,component-consoler,component-resolver');
jonathanong Jun 16, 2014

i'm not sure how it works via JS API, but in the CLI it should be component-build*, etc. since i namespace a lot of things

trevorgerhardt Jun 17, 2014

To simplify, should it just be component-* for everything?


looks good! added to the team

Component member


@trevorgerhardt trevorgerhardt merged commit c607a7a into componentjs:master Jun 17, 2014

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment