Skip to content

startInspector

startInspector(app, port?, hostname?): InspectorServer

Defined in: src/core/inspector.ts:47

Start the REST inspector HTTP server for an app (debugging / agents / CI).

The server has no authentication and POST /input can drive the app, so it binds to loopback (127.0.0.1) by default — never exposed to the network. Only pass hostname: "0.0.0.0" when you deliberately need remote access (e.g. reaching a container from the host) and the network is trusted.

InspectableApp

number = 8000

string = "127.0.0.1"

InspectorServer