init_daemon

Function init_daemon 

Source
pub fn init_daemon() -> Option<PathBuf>
Expand description

Initialize tracing for the daemon (file + stderr logging)

The daemon logs to both:

  1. A log file at ~/.local/share/debugger-cli/logs/daemon.log
  2. stderr (inherited from spawning process for early errors)

Log level controlled by RUST_LOG, default is TRACE for daemon to capture DAP messages.