We use the debug package and log under the
serialport namespace. Each package has it's own scope
serialport/streamfor all stream released logging
serialport/binding*for all binding related logging
You can enable logging through environment variables. Check the debug docs for info.
On Windows the environment variable is set using the
PowerShell uses different syntax to set environment variables.
You can enable core dumps on osx with;
You can "console.log" from c++ with;
You can make use of the
serialport-repl command with;
It will load a serialport object with debugging turned on.