netfishers-onl / Netshot

Network Configuration and Compliance Management
http://www.netfishers.onl/netshot
242 stars 57 forks source link

Debug output for custom driver #227

Closed w1tht0uchp4d closed 1 year ago

w1tht0uchp4d commented 2 years ago

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?

SCadilhac commented 2 years ago

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

w1tht0uchp4d commented 2 years ago

Thank you, that did do the trick.