Netshot icon indicating copy to clipboard operation
Netshot copied to clipboard

Debug output for custom driver

Open w1tht0uchp4d opened this issue 3 years ago • 2 comments

Hello,

in the past there was the possibility to collect debug output from a custom driver by issuing a command in the .js file and using the "Debug full session" function while performing a snapshot. Unfortunately I can't remember the command nor can I find it in the documentation. I think it was something like cli.debug("Message") or console.debug("Message"). Could you update the Netshot documentation regarding this topic please?

w1tht0uchp4d avatar Aug 02 '22 09:08 w1tht0uchp4d

cli.debug("Message"); in the driver should indeed do it. This is likely to change in the future.

SCadilhac avatar Aug 02 '22 09:08 SCadilhac

Thank you, that did do the trick.

w1tht0uchp4d avatar Aug 02 '22 09:08 w1tht0uchp4d