We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--capture=no
1 parent a4de2b8 commit c6ff83aCopy full SHA for c6ff83a
src/client/testing/testController/pytest/runner.ts
@@ -92,6 +92,10 @@ export class PytestRunner implements ITestsRunner {
92
testArgs.splice(0, 0, '--rootdir', options.cwd);
93
}
94
95
+ if (options.debug && !testArgs.some((a) => a.startsWith('--capture') || a === '-s')) {
96
+ testArgs.push('--capture', 'no');
97
+ }
98
+
99
// Positional arguments control the tests to be run.
100
const rawData = idToRawData.get(testNode.id);
101
if (!rawData) {
0 commit comments