Skip to content

print() doesn't work in debug console while debugging pytests #19949

@zljubisic

Description

@zljubisic

Type: Bug

If I set a breakpoint in pytest test, when I am on the breakpoint, if I enter debug console and execute prints, nothing is showed up.
Is that a bug or feature?

Extension version: 2022.14.0
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No
Remote OS version: Linux x64 3.10.0-1127.el7.x86_64

image

Metadata

Metadata

Assignees

Labels

area-debuggingarea-testingbugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions