GitHub Copilot Beta
Prerequisites
- Node.js 18+
- VS Code with GitHub Copilot
- GitHub Copilot extension
- GitHub Copilot Chat extension
Install & Run
bash
# Start VS Code with debugging port (required)
code --remote-debugging-port=9222
# Install daemon
npm install -g @cmdctrl/vscode-copilot
# Register
cmdctrl-vscode-copilot register -s https://api.cmd-ctrl.ai
# Start
cmdctrl-vscode-copilot startWARNING
VS Code must be running with --remote-debugging-port=9222 before starting the daemon.
Auto-Launch VS Code with Debugging
macOS: Add to your shell profile:
bash
alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code --remote-debugging-port=9222'Linux: Create an alias or modify your desktop shortcut:
bash
alias code='code --remote-debugging-port=9222'Troubleshooting
"VS Code not detected" - Ensure VS Code is running with --remote-debugging-port=9222
"Cannot connect to VS Code" - Restart VS Code with the debugging flag
"Copilot not responding" - Verify your GitHub Copilot subscription is active and you're signed in
Port conflict - Pick another port and set CDP_PORT env var
Connection issues - Check status with cmdctrl-vscode-copilot status
