Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: Address PR review feedback - remove redundant comment and traili…
…ng spaces
  • Loading branch information
Subham-KRLX committed Feb 6, 2026
commit 2e2e235ba0d416bee6bcd1cbc1106efff697baf9
5 changes: 2 additions & 3 deletions Extension/src/Debugger/configurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,9 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
if (config.program) {
processId = await this.findProcessByProgramName(config.program, config, token);
}

// Fall back to process picker if program wasn't specified or didn't match
if (!processId) {
// Show the process picker if no program is specified
if (config.pipeTransport || config.useExtendedRemote) {
const remoteAttachPicker: RemoteAttachPicker = new RemoteAttachPicker();
processId = await remoteAttachPicker.ShowAttachEntries(config);
Expand Down Expand Up @@ -1185,7 +1184,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
}

const programBaseName: string = path.basename(programPath);

// Get the process list using the same logic as interactive attach
const attachItemsProvider: AttachItemsProvider = NativeAttachItemsProviderFactory.Get();
const processes: AttachItem[] = await attachItemsProvider.getAttachItems(token);
Expand Down