Skip to content

Commit eb10676

Browse files
rkeithhilldaviwil
authored andcommitted
Add comment.
1 parent 2e4bf7f commit eb10676

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/DebugSession.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export class SpecifyScriptArgsFeature implements IFeature {
143143
}
144144

145145
return vscode.window.showInputBox(options).then(text => {
146+
// When user cancel's the input box (by pressing Esc), the text value is undefined.
146147
if (text !== undefined) {
147148
this.context.globalState.update(powerShellDbgScriptArgsKey, text);
148149
return new Array(text);

0 commit comments

Comments
 (0)