Skip to main content

Function: startDebugServer()

startDebugServer<US>(options): Promise<never>

Defined in: cli/debug-server.ts:149

Starts a local debug server with live reload.

The debug server automatically transpiles TypeScript and JSX using ESBuild and watches for file changes to trigger rebuilds.

Type Parameters

Type Parameter
US extends Schema

Parameters

ParameterTypeDescription
optionsDebugServerOptions<US>Options for running the debug server.

Returns

Promise<never>

Never returns - runs until the process is terminated.