monitor debug info in console log requires config.debugLogMonitors = true now
parent
5abcbcb3b4
commit
339fc6a425
|
@ -68,7 +68,7 @@ module.exports = async (s,config,lang,onFinish) => {
|
||||||
e.sdir + 'cmd.txt'
|
e.sdir + 'cmd.txt'
|
||||||
]
|
]
|
||||||
const cameraProcess = spawn('node',cameraCommandParams,{detached: true,stdio: stdioPipes})
|
const cameraProcess = spawn('node',cameraCommandParams,{detached: true,stdio: stdioPipes})
|
||||||
if(config.debugLog === true){
|
if(config.debugLog === true && config.debugLogMonitors === true){
|
||||||
cameraProcess.stderr.on('data',(data) => {
|
cameraProcess.stderr.on('data',(data) => {
|
||||||
console.log(`${e.ke} ${e.mid}`)
|
console.log(`${e.ke} ${e.mid}`)
|
||||||
console.log(data.toString())
|
console.log(data.toString())
|
||||||
|
|
Loading…
Reference in New Issue