yeoman/yo — pull request #77 by SBoudrias (2013-08-23 18:54:02+00:00)
Title: Allow node command flags to be passed to yo

Refactor `yo` to start a child process running the real yo so that it can pass through node command flags (like --debug-brk)

This make it sooooo much nicer for debugging and stepping through generator code.

It have been mostly stolen from the [Mocha repo](https://github.com/visionmedia/mocha/blob/master/bin/mocha) with some adjustment around the stdio so it is inherited.

Now, any generator author can run `yo --debug bbb` (or any other node flags)