File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,11 @@ export class GoDebugConfigurationProvider implements vscode.DebugConfigurationPr
297
297
if ( ! debugConfiguration [ 'processId' ] || debugConfiguration [ 'processId' ] === 0 ) {
298
298
// The processId is not valid, offer a quickpick menu of all processes.
299
299
debugConfiguration [ 'processId' ] = parseInt ( await pickProcess ( ) , 10 ) ;
300
- } else if ( typeof debugConfiguration [ 'processId' ] === 'string' ) {
300
+ } else if (
301
+ typeof debugConfiguration [ 'processId' ] === 'string' &&
302
+ debugConfiguration [ 'processId' ] !== '${command:pickProcess}' &&
303
+ debugConfiguration [ 'processId' ] !== '${command:pickGoProcess}'
304
+ ) {
301
305
debugConfiguration [ 'processId' ] = parseInt (
302
306
await pickProcessByName ( debugConfiguration [ 'processId' ] ) ,
303
307
10
You can’t perform that action at this time.
0 commit comments