feat:Add console log

This commit is contained in:
pengfei.zhou 2021-03-02 17:28:20 +08:00 committed by osborn
parent a40ec58fca
commit 1af0600001

View File

@ -100,7 +100,8 @@ export async function createServer() {
} }
) )
console.log(`Debugger on ${debuggingFile}`.green); console.log(`Debugger on ${debuggingFile}`.green);
console.log(`Please open Chrome`); console.log(`Please open Chrome inspector`, "chrome://inspect/#devices".white.bgGreen);
console.log(`And click ${"Open dedicated DevTools for Node".white.bgBlue}`)
break; break;
case 'EXCEPTION': case 'EXCEPTION':
console.log(resultObject.payload.source.red); console.log(resultObject.payload.source.red);