What problem does it solve?
macOS users relying on Surge for network proxying in restricted environments often face difficulty diagnosing whether proxies (shell env vars) or Surge's Enhanced Mode are misconfigured, causing global or per-application traffic to hang.
Core Features & Use Cases
- Diagnose network health and proxy states using Surge CLI such as surge diagnostics, surge environment, and surge dump commands.
- Toggle Surge Enhanced Mode and system proxy settings via HTTP API and CLI to recover connectivity in restricted networks.
- Use case: in a China-based macOS setup with Surge, quickly identify whether outbound mode is correct and restore direct or proxy routing without reinstalling software.
Quick Start
Run surge diagnostics to assess the current network health and determine whether outbound or enhanced mode needs adjustment.