function compileDebug()

in npm/cli/index.js [94:108]


function compileDebug() {
    var command = 'mxmlc ' + path.join(process.cwd(), SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true';
    console.log('Compiling...');
    try {
        execSync(command);
        console.log('Finished compiling');
    }
    catch(e) {
        console.error(e.message);
    }
    finally {
        reloadBrowser();
        updateIndex();
    }
}