/tests
GitHub Copilot
Generate tests
Generate unit tests for the selected code.
More GitHub Copilot commands
/new
Create project
Create a new project or scaffold a new file from natural language.
/troubleshoot
Troubleshoot session
Ask the AI to analyze the current agent debug logs for troubleshooting.
/startDebugging
Start debugging
Generate a launch.json configuration and start a debugging session.
/debug
Debug logs
Open the Chat Debug view to inspect Copilot chat logs.
/search
Generate search query
Turn a natural-language request into a Search view query.