Skip to content

Commit bbd5d7f

Browse files
committed
Add comment.
1 parent e700c17 commit bbd5d7f

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)