fix(services): show the service port for debug sessions like for run (#1789)

A direct debug launch had no Run session to carry the app's HTTP port, so
its Services node only showed Debugging/Starting. The debugger now parses
the same embedded web server startup line as Run, publishes the port on
DebugServiceSession, and the node shows :port as soon as the app announces
it, exactly like a running service (#1718).

Signed-off-by: Inf1mum <[email protected]>
Цей коміт міститься в:
Vadim Lazuk authored and GitHub committed 2026-11-07 02:32:06 +08:00
1 джерело d0c3b9ba34
коміт b2253a8bc8
6 files changed
+84 -6

No files matched your search

+2
Переглянути файл
@@ -1470,6 +1470,8 @@ export interface DebugServiceSession {
startedAt: number;
status: "starting" | "running" | "paused" | "terminated";
processId: number | null;
/** The debuggee's HTTP port announced on its console (not the JDWP attach port), if known. */
httpPort?: number;
rerun: (() => void) | null;
stop: (options?: { stopProcess?: boolean }) => Promise<void>;
show: () => void;