Add debug

This commit is contained in:
Owen
2025-11-25 16:06:24 -05:00
parent 8774412091
commit ef087f45c8

View File

@@ -167,6 +167,9 @@ func StartTunnel(config TunnelConfig) {
tunnelRunning = true // Also set it here in case it is called externally
// debug print out the whole config
logger.Debug("Starting tunnel with config: %+v", config)
if config.Holepunch {
logger.Warn("Hole punching is enabled. This is EXPERIMENTAL and may not work in all environments.")
}