Add debug

Former-commit-id: ef087f45c8
This commit is contained in:
Owen
2025-11-25 16:06:24 -05:00
parent 53c1fa117a
commit 92b551fa4b

View File

@@ -167,6 +167,9 @@ func StartTunnel(config TunnelConfig) {
tunnelRunning = true // Also set it here in case it is called externally 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 { if config.Holepunch {
logger.Warn("Hole punching is enabled. This is EXPERIMENTAL and may not work in all environments.") logger.Warn("Hole punching is enabled. This is EXPERIMENTAL and may not work in all environments.")
} }