launch_app
Launch an Electron app with debug ports for main and renderer processes, creating a debug session and returning session ID and debug ports.
Instructions
Launch an Electron app with debug ports (--inspect for the main process, --remote-debugging-port for renderers) and create a debug session. Provide either appId (from list_apps) or a direct exePath. Returns the sessionId and debug ports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the app process. | |
| env | No | Extra environment variables for the app process. | |
| appId | No | App id from list_apps. | |
| exePath | No | Direct path to the app executable (bypasses discovery). | |
| targetId | No | Target id; defaults to the local machine target. |