Extension host immediately closes with no logs after opening with `F5`.
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
When I open the extension host with `F5`, most of the time as soon as it initializes, it immediately closes. It produces no logs that I can find.
This behavior is inconsistent. Sometimes it will stay open and work, but most of the time it closes immediately.
If I open using `Ctrl+F5`, it always opens and runs fine.
This project is for a simple (though not necessarily tiny) VS Code extension with only one command.
This has been happening for several VS Code versions.
```
Version: 1.137.0 (user setup)
Commit: 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c
Date: 2026-09-08T13:43:59-07:00
Electron: 42.10.0
ElectronBuildId: 15109253
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
@github/copilot: 1.0.84.70.gdb75d0d
@github/copilot-sdk: 1.0.13-preview.4
OS: Windows_NT x64 10.0.26200
```
Contributor guide
Assessment
This issue has not been assessed yet.