Hi,
I am developing a WF with a background service and am finding VSCode loses console connection every time I receive data.
In onBackgroundData I have something like this:
function onBackgroundData(data) {
System.println("OBD "+data);
// Do stuff 1...
...Code to do stuff
System.println("OBD2");
...More code to do stuff
System.println("OBD3");
}
Then in the console, without fail, I see this:
OBD {theData=>123,status=>bob, stuff=>639763}, moreStuff=>200}
OBD2
OBD3
Encountered an app crash.
And from that point on ("Encountered an app crash."), the console is entirely dead. Does nothing. At all.
But... the WF carries on and works fine.
If I run the same project in Eclipse, the WF carries on and works fine and has an active console output.
Thanks,
G