From 788d6bbf4a222e813a44a180a6369ebba00a610d Mon Sep 17 00:00:00 2001 From: Waldek Mastykarz Date: Wed, 28 Oct 2026 13:00:15 +0100 Subject: [PATCH] Show Proxy URL in devproxy status output. Closes #2020 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- DevProxy/Commands/StatusCommand.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DevProxy/Commands/StatusCommand.cs b/DevProxy/Commands/StatusCommand.cs index fab63098..25c24652 100644 --- a/DevProxy/Commands/StatusCommand.cs +++ b/DevProxy/Commands/StatusCommand.cs @@ -133,6 +133,7 @@ private async Task PrintInstanceStatusAsync(ProxyInstanceState state, OutputForm _logger.LogStructuredOutput(JsonSerializer.Serialize(new { state.Pid, + state.ProxyUrl, state.ApiUrl, token, apiStatus, @@ -150,12 +151,12 @@ private async Task PrintInstanceStatusAsync(ProxyInstanceState state, OutputForm Console.WriteLine(message); Console.WriteLine(); Console.WriteLine($" PID: {state.Pid}"); + Console.WriteLine($" Proxy URL: {state.ProxyUrl}"); Console.WriteLine($" API URL: {state.ApiUrl}"); if (token is not null) { Console.WriteLine($" API token: {token}"); } - Console.WriteLine($" Port: {state.Port}"); Console.WriteLine($" System proxy: {(state.AsSystemProxy ? "Yes" : "No")}"); if (proxyInfo is not null) {