File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 37
37
"default" : " ${workspaceFolder}" ,
38
38
"description" : " Specifies the working directory for the launch command."
39
39
},
40
+ "rtlDebugger.env" : {
41
+ "type" : " object" ,
42
+ "patternProperties" : {
43
+ "" : " string"
44
+ },
45
+ "default" : {},
46
+ "description" : " Specifies the environment for the launch command."
47
+ },
40
48
"rtlDebugger.port" : {
41
49
"type" : " integer" ,
42
50
"minimum" : 1 ,
Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ export class CXXRTLDebugger {
91
91
const configuration = vscode . workspace . getConfiguration ( 'rtlDebugger' ) ;
92
92
if ( configuration . command . length !== 0 ) {
93
93
this . terminal = vscode . window . createTerminal ( {
94
- name : "CXXRTL Simulation" ,
94
+ name : ' Simulation Process' ,
95
95
shellPath : configuration . command [ 0 ] ,
96
96
shellArgs : configuration . command . slice ( 1 ) ,
97
+ cwd : configuration . cwd ,
98
+ env : configuration . env ,
97
99
isTransient : true ,
98
100
iconPath : new vscode . ThemeIcon ( 'debug-console' )
99
101
} ) ;
You can’t perform that action at this time.
0 commit comments