[Python] VSCode: show entire variable in debug console

Discussão em 'Python' iniciado por Stack, Março 8, 2025.

  1. Stack

    Stack Membro Participativo

    when debugging python code in VSCode, how do i show the entire variable. As you can see from the image below, i am printing out the variable 'x'..but not all of it's values shows in the debugging console. it is cut off and followed by an elipse indicating there is more:

    [​IMG]

    While I know I can use the '>' to show a list of each item in the set in this case, is there a way to print the entire variable as a string in the debug pane/console - much like we would be able to if we were using the command line for our venv?

    Continue reading...

Compartilhe esta Página