cody icon indicating copy to clipboard operation
cody copied to clipboard

E2Ev2: Allow for extension debugger

Open RXminuS opened this issue 1 year ago • 1 comments

Before there was no good way of attaching a debugger to the Cody extension as it ran in the VSCode code-host. This made it difficult to debug outside of running the special VSCode "Run Extension" command.

Now we allow supplying a specific debugger port to the extension host that gets started as part of the test fixture. This then allows you to easily connect a debugger to the extension as part of the test.

This not only makes it easier to debug issues with flaky tests but also opens the door for faster iteration as you can now simply record a few UI interactions an play them in a loop as you edit and re-debug the code.

https://github.com/user-attachments/assets/1d7ff51e-ed19-4ede-9056-10774227880a

Test Plan

No code outside of e2ev2 is affected. No additional testing required

RXminuS avatar Jul 24 '24 10:07 RXminuS