4

I want to add a comment while debugging, but it seems to change the line numbers. Then, I added a white breakpoint instead of red.

I found a lot of answers about visual studio, but it's hard to find vscode.

Is it possible to edit code while debugging in vscode?

1

1 Answer 1

-2

You can use the Edit and Continue feature to do this. This feature allows you to change your code while the debugger is paused and continue debugging without restarting the program.

enter image description here

To enable Edit and Continue, check this discussion:

Is there a way to *completely* disable Edit and Continue?

Sign up to request clarification or add additional context in comments.

1 Comment

linked Q&A is about VS and not VS Code?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.