()
| 331 | * Check if a proxy is currently configured and active. |
| 332 | */ |
| 333 | export function isProxyEnabled(): boolean { |
| 334 | const config = getProxyConfig() |
| 335 | // Active proxy is only applied in debug mode. |
| 336 | return config.enabled && config.isDebugMode |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * Check if we're running in debug mode. |
no test coverage detected