sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.71k stars 297 forks source link

Debug: make debug commands available outside of test #5197

Closed abeatrix closed 2 months ago

abeatrix commented 2 months ago

The debug commands were recently moved to be available in test/dev mode only, most likely by accident.

This PR fixes this issue by always registering the commands for debugging on extension start-up.

Test plan

Run the Export Debug Logs command and verify the command works:

image

Before this change, the command returns an error

image

Changelog

Fixed issues where debug commands are not available in production.