- Fork this repo.
- Go to https://github.com/codespaces
- Click on "New Codespace" button.
- Click the "Select repository" button and find your fork of this repo.
- With default values selected, click "Create codespace".
- Once VSCode starts, go to the VSCode "terminal" tab, run the command
dotnet new console --framework net6.0 --use-program-main
to create a new console project. - Update path to your app's output binary in .vscode/launch.json.
- Set a breakpoint in Program.cs and start the debugger in VScode.
- Win.
The Codespace VM is based on this custom docker container. Substitute your own of you want a different setup.