File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ async function handleCustomDebugEvent(event: vscode.DebugSessionCustomEvent): Pr
144144 // run the program
145145 try {
146146 const dirname = path . posix . dirname ( args . program ) ;
147- const command = `brickrun -r --directory="${ dirname } " "${ args . program } "` ;
148147 if ( args . interactiveTerminal ) {
148+ const command = `brickrun -r --directory="${ dirname } " "${ args . program } "` ;
149149 const config = vscode . workspace . getConfiguration ( `terminal.integrated.env.${ getPlatform ( ) } ` ) ;
150150 const termEnv = config . get < string > ( 'TERM' ) ;
151151 const env = {
@@ -213,6 +213,7 @@ async function handleCustomDebugEvent(event: vscode.DebugSessionCustomEvent): Pr
213213 event . session . customRequest ( 'ev3devBrowser.debugger.thread' , 'started' ) ;
214214 }
215215 else {
216+ const command = `brickrun --directory="${ dirname } " "${ args . program } "` ;
216217 output . show ( true ) ;
217218 output . clear ( ) ;
218219 output . appendLine ( `Starting: ${ command } ` ) ;
You can’t perform that action at this time.
0 commit comments