log debugged context id
This commit is contained in:
parent
dc2db2298b
commit
f0259d6c35
@ -19,7 +19,7 @@ const WebSocketClient = require('ws')
|
|||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
let context = process.cwd() + '/build/context'
|
let context = process.cwd() + '/build/context'
|
||||||
const contextId = fs.readFileSync(context, { encoding: 'utf8' })
|
const contextId = fs.readFileSync(context, { encoding: 'utf8' })
|
||||||
console.log(contextId)
|
console.log("debugging context id: " + contextId)
|
||||||
let global = new Function('return this')()
|
let global = new Function('return this')()
|
||||||
global.doric = doric
|
global.doric = doric
|
||||||
global.context = doric.jsObtainContext(contextId)
|
global.context = doric.jsObtainContext(contextId)
|
||||||
|
Reference in New Issue
Block a user