File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import vscode = require("vscode");
7
7
import Window = vscode . window ;
8
8
import { IFeature , LanguageClient } from "../feature" ;
9
9
import { SessionManager } from "../session" ;
10
+ import Settings = require( "../settings" ) ;
10
11
import utils = require( "../utils" ) ;
11
12
12
13
export class PesterTestsFeature implements IFeature {
@@ -33,6 +34,7 @@ export class PesterTestsFeature implements IFeature {
33
34
private launchTests ( uriString , runInDebugger , describeBlockName ?) {
34
35
const uri = vscode . Uri . parse ( uriString ) ;
35
36
const currentDocument = vscode . window . activeTextEditor . document ;
37
+ const settings = Settings . load ( ) ;
36
38
37
39
const launchConfig = {
38
40
request : "launch" ,
@@ -47,6 +49,7 @@ export class PesterTestsFeature implements IFeature {
47
49
] ,
48
50
internalConsoleOptions : "neverOpen" ,
49
51
noDebug : ! runInDebugger ,
52
+ createTemporaryIntegratedConsole : settings . debugging . createTemporaryIntegratedConsole ,
50
53
cwd :
51
54
currentDocument . isUntitled
52
55
? vscode . workspace . rootPath
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export class SessionManager implements Middleware {
235
235
this . debugSessionProcess =
236
236
new PowerShellProcess (
237
237
this . powerShellExePath ,
238
- "[DBG ] PowerShell Integrated Console" ,
238
+ "[TEMP ] PowerShell Integrated Console" ,
239
239
this . log ,
240
240
this . editorServicesArgs + "-DebugServiceOnly " ,
241
241
sessionPath ,
You can’t perform that action at this time.
0 commit comments