mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-30 08:40:29 -04:00
Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae
This commit is contained in:
committed by
AzureDataStudio
parent
a971aee5bd
commit
5e7071e466
@@ -13,6 +13,7 @@ import { IEditorService } from 'vs/workbench/services/editor/common/editorServic
|
||||
import { INotificationService } from 'vs/platform/notification/common/notification';
|
||||
import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService';
|
||||
import { IQuickInputService } from 'vs/platform/quickinput/common/quickInput';
|
||||
import { deepClone } from 'vs/base/common/objects';
|
||||
|
||||
export abstract class AbstractDebugAction extends Action {
|
||||
|
||||
@@ -129,7 +130,8 @@ export class StartAction extends AbstractDebugAction {
|
||||
|
||||
async run(): Promise<boolean> {
|
||||
let { launch, name, config } = this.debugService.getConfigurationManager().selectedConfiguration;
|
||||
return this.debugService.startDebugging(launch, config || name, { noDebug: this.isNoDebug() });
|
||||
const clonedConfig = deepClone(config);
|
||||
return this.debugService.startDebugging(launch, clonedConfig || name, { noDebug: this.isNoDebug() });
|
||||
}
|
||||
|
||||
protected isNoDebug(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user