Configuration Variables
All CLI flags have corresponding environment variables. CLI flags take precedence when both are set.Core Configuration
Logging Configuration
Variable Details
TYPEMUX_CC_BACKEND
Selects which LSP backend to use for Python type checking. Valid values:pyright- Microsoft’s Pyright (default)ty- Google’s typyrefly- Astral’s pyrefly
TYPEMUX_CC_LOG_FILE
Path to log file for debug output. When set, logs are written to both stderr and the specified file. Example:TYPEMUX_CC_MAX_BACKENDS
Maximum number of concurrent LSP backend processes. The proxy maintains one backend per.venv. When the pool is full, the least recently used backend is evicted.
Valid range: Minimum 1, no upper limit
Example:
TYPEMUX_CC_BACKEND_TTL
Backend time-to-live in seconds. Idle backends are automatically evicted after this timeout. Set to0 to disable TTL-based eviction (backends only evicted via LRU when pool is full).
Example:
TYPEMUX_CC_WARMUP_TIMEOUT
Maximum time (in seconds) to wait for backend index warmup before forwarding queued requests. After spawning, backends need time to build their cross-file index. Requests liketextDocument/definition and textDocument/references are queued until:
- Backend sends
$/progressnotification withkind: "end", OR - Timeout expires (fail-open: forward requests anyway)
0 to disable warmup queueing entirely (all requests forwarded immediately).
Default: 2 seconds
Example:
This variable is not available as a CLI flag. It must be set via environment variable.
RUST_LOG
Controls log level and filtering. Accepts standard Rust tracing directives. Default:typemux_cc=debug
Example:
Logging Levels
Configuration Precedence
When multiple configuration sources are present:- CLI flags (highest priority)
- Environment variables
- Default values (lowest priority)
Persistent Configuration
When running as a Claude Code plugin, create a config file to persist settings: Location:~/.config/typemux-cc/config
Setup:
Usage Examples
Minimal Configuration
Enable Logging
Large Monorepo
Use ty Backend
Disable Warmup Queueing
Combined Configuration
Monitoring and Debugging
Real-time Log Monitoring
Backend Pool Activity
Warmup Transitions
Session Tracking
See Also
- CLI Flags - Command-line flag reference
- Configuration - Detailed configuration strategies
- Logging - Comprehensive logging setup and debugging