microsoft avatar

Launch

You're hacking on VS Code itself and need to launch a build from sources with Copilot already signed in, drive it with Playwright, and optionally attach a debugger to the renderer, extension host, or main process. This solves the annoying problem of port conflicts and profile pollution when testing UI flows or taking screenshots. It clones your authenticated profile to a throwaway temp dir (excluding workspace storage and caches but keeping auth tokens), picks free debug ports for every surface, and blocks until CDP is up before printing everything as JSON. The slim clone is smart about what matters for auth. If you've ever fought with multiple Code OSS instances stomping on each other's ports or wondered why your test instance lost its GitHub login, this is for you.

skills.sh installs
304
GitHub stars
195.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add microsoft/vscode --skill launch --agent claude-code

Installs into .claude/skills of the current project.

Files

Code OSS Dev - Launch + Debug

You're working on VS Code itself and you want to:

  1. Launch a Code OSS build from sources that is already signed in (Copilot, GitHub, etc.) so chat / agent flows work end-to-end.
  2. Drive it with @playwright/cli over CDP (UI automation).
  3. Optionally attach a debugger via dap-cli to set breakpoints in the renderer, extension host, or main process.
  4. Run multiple instances at once without port conflicts.

This skill provides a launcher that clones an authenticated user-data-dir to a throwaway temp folder, picks free ports for every debug surface, and prints them as JSON so you can pick them up programmatically.

The clone is slim: workspace storage, browser caches, file history, cached VSIX backups, and old logs are excluded by default. On macOS, auth tokens live in the OS keychain plus small files inside User/globalStorage - both of which are preserved. On Windows the GitHub session lives in the shared-data-dir instead, which the launcher seeds separately (see Windows authentication).

Prerequisites

Sponsors

Details

Repository
github.com/microsoft/vscode
Categories
Testing & QA, Debugging, Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026

More from microsoft/vscode

All 15
1pbnicad avatartelegram-bot-grammypbnicad/telegram-bot-grammy-skillTelegram Bot development skill using grammY framework, TypeScript, Drizzle ORM, Vitest testing, Biome linting, deployed to Cloudflare Workers with D1 database. 292skills.sh installs
2wix avatarwix-cli-app-validationwix/skillsUse when testing app readiness, verifying runtime behavior, or validating before releases and after changes in the code. Triggers include validate, test, verify287skills.sh installs
3davila7 avatarloki-modedavila7/claude-code-templatesMulti-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, d284skills.sh installs
4microsoft avatarcomponent-fixturesmicrosoft/vscodeUse when creating or updating component fixtures for screenshot testing, or when designing UI components to be fixture-friendly. Covers fixture file structure, 277skills.sh installs
5andreadellacorte avataragent-browserandreadellacorte/grooveBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking scr273skills.sh installs
6patricio0312rev avatarrbac-policy-testerpatricio0312rev/skillsCreates comprehensive permission tests ensuring RBAC doesn't regress with test matrices, CI gating, and authorization coverage. Use for "RBAC testing", "permiss269skills.sh installs