[Python] how to browse lines in vscode debug console?

Discussão em 'Python' iniciado por Stack, Agosto 18, 2025.

  1. Stack

    Stack Membro Participativo

    Suppose I execute a few lines in vscode python debug console

    a = 1
    b = 1
    print(a + b)


    Then I want to re-run this snippet, but to edit the second line to b = 99. To do this I click up arrow to display the previous snippet and the cursor is at the first snippet line. To browse to the second line I click down arrow, but the debugger thinks I want to browse between different code snippets so it displays the "next" code snippet, instead of the next line to put the cursor in.

    How to browse lines in the debug console?

    Continue reading...

Compartilhe esta Página