Skip to content

Commit c753dbe

Browse files
committed
copy changes for #948 and #1353 into multroot
1 parent 6c1e207 commit c753dbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/unittests/unittest/runner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ export function runTest(testManager: BaseTestManager, testResultsService: ITestR
8787

8888
testArgs.push(`--result-port=${port}`);
8989
if (debug === true) {
90-
testArgs.push(...['--secret=my_secret', '--port=3000']);
90+
const debugPort = PythonSettings.getInstance(Uri.file(rootDirectory)).unitTest.debugPort;
91+
testArgs.push(...['--secret=my_secret', `--port=${debugPort}`]);
9192
}
9293
testArgs.push(`--us=${startTestDiscoveryDirectory}`);
9394
if (testId.length > 0) {

0 commit comments

Comments
 (0)