otris/vscode-janus-debug

Upload and debug script does not print the script output

Closed this issue · 4 comments

If you execute a script with Run script on server the output of the script will be printed to the console. But if you execute a script with Upload and debug script the output is missing

The timeout in launch.json didn't work correctly. But it's fixed now.
So you should get the output now, if you change the timeout in launch configuration like that

"configurations": [
	{
		"name": "Launch Script on Server",
		"request": "launch",
		...
		"timeout": 86400000
	},
        ...

@wehrstedt Could you check if that works for you?

No, it doesn't work.

Script:

var o = {
	a: "b"
};
return JSON.stringify(o);

Output with upload and debug:
image

Output with run script
image

In version 1.0.21 at least an error message should be shown...