You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
┌─────────────────────────────────────────────────────────────┐
│ Run and Debug (Cmd/Ctrl+Shift+D) │
├─────────────────────────────────────────────────────────────┤
│ │
│ Select Configuration: ▼ │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ Run Extension │ │
│ │ Run Extension with Walkthrough ⭐ │ │
│ │ Run Extension with Help Menu │ │
│ │ Extension Tests │ │
│ └───────────────────────────────────────────────────────┘ │
│ │
│ [▶ Start Debugging] (F5) │
│ │
└─────────────────────────────────────────────────────────────┘
Quick Start
Test the Walkthrough
1. Press F5 (or click Run icon)
2. Select "Run Extension with Walkthrough"
3. Wait 1 second
4. ✨ Walkthrough opens automatically!
Test the Help Menu
1. Press F5
2. Select "Run Extension with Help Menu"
3. Wait 1 second
4. ✨ Help menu appears!
Configuration Matrix
Configuration
Auto-Opens
Best For
Run Extension
Nothing
Normal development
Run Extension with Walkthrough ⭐
Walkthrough tutorial
Testing walkthrough content
Run Extension with Help Menu
Help quick pick
Testing help features
Extension Tests
Test runner
Running unit tests
Environment Variables
// Walkthrough ModeLINEARBUDDY_OPEN_WALKTHROUGH=true↓Openswalkthroughafter1second↓"workbench.action.openWalkthrough"// Help Menu ModeLINEARBUDDY_OPEN_HELP=true↓Openshelpmenuafter1second↓"linearBuddy.showHelp"
Timing Diagram
Extension Launch
↓
Activate
↓
Initialize Features (0ms)
↓
Check Environment Variables (0ms)
↓
If LINEARBUDDY_OPEN_WALKTHROUGH
↓
Wait 1000ms ⏱️
↓
Open Walkthrough ✨
If LINEARBUDDY_OPEN_HELP
↓
Wait 1000ms ⏱️
↓
Open Help Menu ✨
// Change from 1 second to 2 secondssetTimeout(()=>{ ... },2000);// was 1000
Disable Auto-Open Temporarily
// Comment out the auto-open block// if (process.env.LINEARBUDDY_OPEN_WALKTHROUGH === "true") {// ...// }
Troubleshooting
Problem
Solution
Walkthrough doesn't open
Check Debug Console for errors
Wrong walkthrough opens
Verify walkthrough ID in package.json
Timing issues
Increase setTimeout delay
Extension won't compile
Run npm run compile manually
Pro Tips
💡 Fastest iteration: Use "Reload Extension" (Cmd/Ctrl+R) instead of stopping and starting
💡 Breakpoint debugging: Set breakpoints in the setTimeout callback
💡 Console output: Check Debug Console for console.log messages
💡 Multiple windows: You can run multiple debug sessions simultaneously
💡 Custom shortcuts: Bind F5 variants to specific configurations