Skip to main content

Module Debug

Module Debug 

Source
Expand description

Debug-domain handlers for CocoonService. RegisterDebugAdapter::Fn, StartDebugging::Fn, StopDebugging::Fn.

Modulesยง

RegisterDebugAdapter
Register a Cocoon-contributed debug adapter in ApplicationState and notify Sky so the debug-launcher UI can light up.
StartDebugging
Start a debug session. Mints a session id, emits sky://debug/start so the workbench can render the debug toolbar/console.
StopDebugging
Stop an active debug session. Emits sky://debug/sessionEnd (NOT /stop - Sky listens on the former at SkyBridge.ts:2234; DebugProvider.rs:351 emits the same channel from the lifecycle path).