@bscotch/stitch
Version:
Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.
12 lines • 410 B
JavaScript
import { debug } from '../../utility/log.js';
export function addDebugOptions(cli) {
return cli
.option('--debug', 'Run in debug mode, which writes more logs to help triangulate bugs.')
.action(function (options) {
if (options.debug) {
process.env.DEBUG = 'true';
debug('Running in debug mode');
}
});
}
//# sourceMappingURL=addDebugOption.js.map