[Python] VS code supresses logs while running tests how to make it print the logs in terminal

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

  1. Stack

    Stack Membro Participativo

    I am trying to run unit tests in vs code but it dosent print logs in terminal. Not sure why it supresses the logs where in pycharm it prints the logs properly.

    I have also tried modifying settings.json and added pytest args like below

    "tests/", "--log_cli_level=INFO"

    Anything specific we have to do in vs code to show logs in terminal for unit tests.

    Continue reading...

Compartilhe esta Página