Skip to main content

DebugTui

@webda/debug


Class: DebugTui

Defined in: debug/src/tui/tui.ts:18

Terminal UI dashboard for the Webda debug server.

Provides a tab-based interface with seven panels (Logs, Models, Services, Operations, Routes, Config, Requests) and live WebSocket updates. Connect to an already-running debug server started with webda debug.

Constructors​

Constructor​

new DebugTui(port?): DebugTui

Defined in: debug/src/tui/tui.ts:36

Create a new TUI instance.

Parameters​

port?​

number = 18181

Port of the debug server to connect to

Returns​

DebugTui

Properties​

onStop?​

optional onStop?: () => void

Defined in: debug/src/tui/tui.ts:25

Called once the TUI stopped (user quit)

Returns​

void

Methods​

start()​

start(): Promise<void>

Defined in: debug/src/tui/tui.ts:51

Start the TUI: initialize terminal, load data, and begin rendering.

Returns​

Promise<void>


stop()​

stop(): void

Defined in: debug/src/tui/tui.ts:238

Stop the TUI and clean up.

Returns​

void