|
2 | 2 | * Copyright (C) Microsoft Corporation. All rights reserved.
|
3 | 3 | *--------------------------------------------------------*/
|
4 | 4 |
|
| 5 | +import { injectable } from 'inversify'; |
5 | 6 | import * as vscode from 'vscode';
|
| 7 | +import * as nls from 'vscode-nls'; |
| 8 | +import { DebugType } from '../../common/contributionUtils'; |
6 | 9 | import {
|
| 10 | + AnyEdgeConfiguration, |
7 | 11 | edgeAttachConfigDefaults,
|
8 | 12 | edgeLaunchConfigDefaults,
|
9 |
| - ResolvingEdgeConfiguration, |
10 |
| - AnyEdgeConfiguration, |
11 | 13 | IEdgeLaunchConfiguration,
|
| 14 | + ResolvingEdgeConfiguration, |
12 | 15 | } from '../../configuration';
|
13 |
| -import { DebugType } from '../../common/contributionUtils'; |
14 | 16 | import {
|
15 |
| - ChromiumDebugConfigurationResolver, |
16 | 17 | ChromiumDebugConfigurationProvider,
|
| 18 | + ChromiumDebugConfigurationResolver, |
17 | 19 | } from './chromiumDebugConfigurationProvider';
|
18 |
| -import { injectable } from 'inversify'; |
| 20 | + |
| 21 | +const localize = nls.loadMessageBundle(); |
19 | 22 |
|
20 | 23 | /**
|
21 | 24 | * Configuration provider for Chrome debugging.
|
@@ -69,4 +72,11 @@ export class EdgeDebugConfigurationProvider extends ChromiumDebugConfigurationPr
|
69 | 72 | protected getType() {
|
70 | 73 | return DebugType.Edge as const;
|
71 | 74 | }
|
| 75 | + |
| 76 | + protected getDefaultLaunch() { |
| 77 | + return { |
| 78 | + ...super.getDefaultLaunch(), |
| 79 | + name: localize('chrome.launch.name', 'Launch Edge against localhost'), |
| 80 | + }; |
| 81 | + } |
72 | 82 | }
|
0 commit comments