From f0259d6c35cb2dfc0dc5d45ea522caab13cfb854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 11 Dec 2019 11:25:15 +0800 Subject: [PATCH] log debugged context id --- index.debug.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.debug.ts b/index.debug.ts index 9f2d8eba..71efb893 100644 --- a/index.debug.ts +++ b/index.debug.ts @@ -19,7 +19,7 @@ const WebSocketClient = require('ws') const fs = require('fs') let context = process.cwd() + '/build/context' const contextId = fs.readFileSync(context, { encoding: 'utf8' }) -console.log(contextId) +console.log("debugging context id: " + contextId) let global = new Function('return this')() global.doric = doric global.context = doric.jsObtainContext(contextId)