Skip to main content

Module ExtensionHost

Expand description

ExtensionHost atoms - VS Code extension-host lifecycle handlers.

Starter - extensionHostStarter:* channel (create/start/kill/exit). DebugService - extensionhostdebugservice:* channel (reload/close).

Modules§

DebugService
Wire methods: extensionhostdebugservice:*. Bridges VS Code’s IExtensionHostDebugService channel. reload triggers a real Cocoon restart by emitting sky://exthost/debug-reload so Wind can tear down caches before the fresh spawn. Other methods are acknowledged.
Starter
Wire methods: extensionHostStarter:*. Bridges VS Code’s IExtensionHostStarter channel to Mountain/Cocoon. createExtensionHost allocates a stub id; start returns Cocoon’s real PID so debuggers attach to the correct Node.js process.