VS Code extension for Cosmos gen3, the NativeAOT-based C# kernel framework. Create, build, run and debug a kernel without leaving the editor.
- New kernel project from the
cosmos newtemplate - Build the kernel and run it in QEMU
- Debug with GDB (needs the C/C++ extension,
ms-vscode.cpptools) - Check and install the toolchain (.NET 10 SDK, Cosmos CLI, QEMU, GDB)
- Edit project properties
- Live kernel diagnostics: threads, GC and memory
- Clean build outputs
- .NET SDK 10.0+
- Cosmos.Tools CLI, QEMU, and GDB (
gdb-multiarchfor ARM64)
Missing tools can be installed from the extension.
Install from the Marketplace, then set up the toolchain:
dotnet tool install -g Cosmos.Tools
cosmos install
cosmos checkOn Windows, run CosmosSetup-<version>-windows.exe from the releases page instead.
User Guide — installation, kernel startup, filesystem, network, graphics and debugging.
Also available for Rider.
MIT