Skip to content

Commit

Permalink
fix: wrong name of autogenerated edge debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed May 26, 2021
1 parent 14323d3 commit 9a4ed83
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This changelog records changes to stable releases since 1.50.2. "TBA" changes he
- fix: add additional languages for browser debugging ([ref](https://github.com/microsoft/vscode/issues/123484))
- feat: allow limited adjustment of launch config options during restart ([ref](https://github.com/microsoft/vscode/issues/118196))
- fix: worker processes breaking sessions when attaching multiple times ([ref](https://github.com/microsoft/vscode/issues/124045))
- fix: wrong name of autogenerated edge debug config

## v1.56 (April 2021)

Expand Down
20 changes: 15 additions & 5 deletions src/ui/configuration/edgeDebugConfigurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/

import { injectable } from 'inversify';
import * as vscode from 'vscode';
import * as nls from 'vscode-nls';
import { DebugType } from '../../common/contributionUtils';
import {
AnyEdgeConfiguration,
edgeAttachConfigDefaults,
edgeLaunchConfigDefaults,
ResolvingEdgeConfiguration,
AnyEdgeConfiguration,
IEdgeLaunchConfiguration,
ResolvingEdgeConfiguration,
} from '../../configuration';
import { DebugType } from '../../common/contributionUtils';
import {
ChromiumDebugConfigurationResolver,
ChromiumDebugConfigurationProvider,
ChromiumDebugConfigurationResolver,
} from './chromiumDebugConfigurationProvider';
import { injectable } from 'inversify';

const localize = nls.loadMessageBundle();

/**
* Configuration provider for Chrome debugging.
Expand Down Expand Up @@ -69,4 +72,11 @@ export class EdgeDebugConfigurationProvider extends ChromiumDebugConfigurationPr
protected getType() {
return DebugType.Edge as const;
}

protected getDefaultLaunch() {
return {
...super.getDefaultLaunch(),
name: localize('chrome.launch.name', 'Launch Edge against localhost'),
};
}
}

0 comments on commit 9a4ed83

Please sign in to comment.