Skip to content

Commit 200d69b

Browse files
committed
comments
1 parent a97d832 commit 200d69b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Extension/src/Debugger/configurationProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
9696
*/
9797
resolveDebugConfiguration(folder: vscode.WorkspaceFolder | undefined, config: vscode.DebugConfiguration, token?: vscode.CancellationToken): vscode.ProviderResult<vscode.DebugConfiguration> {
9898
if (!config || !config.type) {
99-
// When DebugConfigurationProviderTriggerKind is Dynamic, resolveDebugConfiguration will be called with an empty config.
99+
// When DebugConfigurationProviderTriggerKind is Dynamic, this function will be called with an empty config.
100100
// Providing debug configs, and debugging should be called manually.
101101
this.provideDebugConfigurations(folder).then(async configs => {
102102
if (!configs || configs.length === 0) {
@@ -108,7 +108,6 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
108108
}
109109
});
110110
} else {
111-
// When launch.json with debug configuration exists, resolveDebugConfiguration will be called with a config selected by provideDebugConfigurations.
112111
// resolveDebugConfigurationWithSubstitutedVariables will be called automatically after this.
113112
if (config.type === 'cppvsdbg') {
114113
// Handle legacy 'externalConsole' bool and convert to console: "externalTerminal"

0 commit comments

Comments
 (0)