Skip to content

Commit bb30829

Browse files
authored
Merge pull request #3 from codegen-sh/codegen-bot/fix-f5-debugging-issues
2 parents 1282b6f + 5d71972 commit bb30829

File tree

3 files changed

+2045
-4
lines changed

3 files changed

+2045
-4
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Most people will use this extension in development mode. Here's how to set it up
106106
```
107107

108108
4. **Launch Extension Development Host**
109+
- **Important**: Make sure you have `src/extension.ts` open in the editor
109110
- Press `F5` or go to Run → Start Debugging
110111
- This opens a new VSCode window with the extension loaded
111112
- You can also use `Ctrl+Shift+P` → "Debug: Start Debugging"
@@ -151,9 +152,11 @@ The project includes pre-configured launch settings in `.vscode/launch.json`:
151152

152153
#### Debugging Tips
153154

154-
1. **Extension Host Logs**: Check the Output panel → "Log (Extension Host)"
155-
2. **Developer Tools**: Use `Help → Toggle Developer Tools` in the Extension Development Host
156-
3. **Reload Extension**: `Ctrl+R` in the Extension Development Host to reload after changes
155+
1. **If F5 fails**: Make sure you have `src/extension.ts` open and run `npm run compile` first
156+
2. **Extension Host Logs**: Check the Output panel → "Log (Extension Host)"
157+
3. **Developer Tools**: Use `Help → Toggle Developer Tools` in the Extension Development Host
158+
4. **Reload Extension**: `Ctrl+R` in the Extension Development Host to reload after changes
159+
5. **TypeScript Errors**: Run `npm run compile` to check for compilation issues
157160

158161
### Building from Source
159162

0 commit comments

Comments
 (0)