Skip to content

Commit c5dc515

Browse files
committed
1 parent 77490dd commit c5dc515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/browser/debugActionsWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class DebugActionsWidget implements IWorkbenchContribution {
208208

209209
const state = this.debugService.state;
210210
const process = this.debugService.getViewModel().focusedProcess;
211-
const attached = process && strings.equalsIgnoreCase(process.configuration.request, 'attach') && !strings.equalsIgnoreCase(process.configuration.type, 'extensionHost');
211+
const attached = process && process.configuration.request && strings.equalsIgnoreCase(process.configuration.request, 'attach') && !strings.equalsIgnoreCase(process.configuration.type, 'extensionHost');
212212

213213
return this.allActions.filter(a => {
214214
if (a.id === ContinueAction.ID) {

0 commit comments

Comments
 (0)