@theia/debug 1.26.0 → 1.27.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/console/debug-console-contribution.js +2 -2
- package/lib/browser/console/debug-console-contribution.js.map +1 -1
- package/lib/browser/debug-configuration-manager.d.ts +21 -5
- package/lib/browser/debug-configuration-manager.d.ts.map +1 -1
- package/lib/browser/debug-configuration-manager.js +81 -11
- package/lib/browser/debug-configuration-manager.js.map +1 -1
- package/lib/browser/debug-contribution.d.ts +0 -5
- package/lib/browser/debug-contribution.d.ts.map +1 -1
- package/lib/browser/debug-prefix-configuration.d.ts +2 -7
- package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +6 -13
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/debug-session-connection.d.ts +2 -3
- package/lib/browser/debug-session-connection.d.ts.map +1 -1
- package/lib/browser/debug-session-connection.js +2 -2
- package/lib/browser/debug-session-connection.js.map +1 -1
- package/lib/browser/debug-session-contribution.d.ts.map +1 -1
- package/lib/browser/debug-session-contribution.js.map +1 -1
- package/lib/browser/debug-session-options.d.ts +9 -2
- package/lib/browser/debug-session-options.d.ts.map +1 -1
- package/lib/browser/debug-session-options.js +18 -1
- package/lib/browser/debug-session-options.js.map +1 -1
- package/lib/browser/editor/debug-breakpoint-widget.js +1 -1
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -1
- package/lib/browser/view/debug-configuration-select.d.ts +59 -0
- package/lib/browser/view/debug-configuration-select.d.ts.map +1 -0
- package/lib/browser/view/debug-configuration-select.js +183 -0
- package/lib/browser/view/debug-configuration-select.js.map +1 -0
- package/lib/browser/view/debug-configuration-widget.d.ts +5 -10
- package/lib/browser/view/debug-configuration-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-configuration-widget.js +21 -54
- package/lib/browser/view/debug-configuration-widget.js.map +1 -1
- package/lib/common/debug-configuration.d.ts +0 -2
- package/lib/common/debug-configuration.d.ts.map +1 -1
- package/lib/common/debug-configuration.js.map +1 -1
- package/lib/common/debug-service.d.ts +11 -2
- package/lib/common/debug-service.d.ts.map +1 -1
- package/lib/common/debug-service.js.map +1 -1
- package/lib/node/debug-adapter-session.d.ts +1 -1
- package/lib/node/debug-adapter-session.d.ts.map +1 -1
- package/lib/node/debug-adapter-session.js +2 -2
- package/lib/node/debug-adapter-session.js.map +1 -1
- package/lib/node/debug-model.d.ts +1 -2
- package/lib/node/debug-model.d.ts.map +1 -1
- package/lib/node/debug-model.js.map +1 -1
- package/lib/node/debug-service-impl.d.ts +5 -1
- package/lib/node/debug-service-impl.d.ts.map +1 -1
- package/lib/node/debug-service-impl.js +12 -0
- package/lib/node/debug-service-impl.js.map +1 -1
- package/package.json +14 -14
- package/src/browser/console/debug-console-contribution.tsx +2 -2
- package/src/browser/debug-configuration-manager.ts +111 -16
- package/src/browser/debug-contribution.ts +0 -6
- package/src/browser/debug-prefix-configuration.ts +6 -14
- package/src/browser/debug-session-connection.ts +5 -7
- package/src/browser/debug-session-contribution.ts +2 -1
- package/src/browser/debug-session-options.ts +30 -3
- package/src/browser/editor/debug-breakpoint-widget.tsx +1 -1
- package/src/browser/view/debug-configuration-select.tsx +234 -0
- package/src/browser/view/debug-configuration-widget.tsx +24 -55
- package/src/common/debug-configuration.ts +0 -3
- package/src/common/debug-service.ts +13 -2
- package/src/node/debug-adapter-session.ts +3 -3
- package/src/node/debug-model.ts +1 -2
- package/src/node/debug-service-impl.ts +14 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable } from '@theia/core';
|
|
1
|
+
import { Disposable, Event } from '@theia/core';
|
|
2
2
|
import { ApplicationError } from '@theia/core/lib/common/application-error';
|
|
3
3
|
import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
|
|
4
|
-
import { CommandIdVariables } from '@theia/variable-resolver/lib/
|
|
4
|
+
import { CommandIdVariables } from '@theia/variable-resolver/lib/common/variable-types';
|
|
5
5
|
import { DebugConfiguration } from './debug-configuration';
|
|
6
6
|
export interface DebuggerDescription {
|
|
7
7
|
type: string;
|
|
@@ -53,6 +53,10 @@ export interface DebugService extends Disposable {
|
|
|
53
53
|
* @returns A Record of debug configuration provider types and a corresponding dynamic debug configurations array
|
|
54
54
|
*/
|
|
55
55
|
provideDynamicDebugConfigurations?(): Promise<Record<string, DebugConfiguration[]>>;
|
|
56
|
+
/**
|
|
57
|
+
* Provides a dynamic debug configuration matching the name and the provider debug type
|
|
58
|
+
*/
|
|
59
|
+
fetchDynamicDebugConfiguration(name: string, type: string): Promise<DebugConfiguration | undefined>;
|
|
56
60
|
/**
|
|
57
61
|
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
58
62
|
* or by adding/changing/removing attributes before variable substitution.
|
|
@@ -78,6 +82,11 @@ export interface DebugService extends Disposable {
|
|
|
78
82
|
* Stop a running session for the given session id.
|
|
79
83
|
*/
|
|
80
84
|
terminateDebugSession(sessionId: string): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Event handle to indicate when one or more dynamic debug configuration providers
|
|
87
|
+
* have been registered or unregistered.
|
|
88
|
+
*/
|
|
89
|
+
onDidChangeDebugConfigurationProviders: Event<void>;
|
|
81
90
|
}
|
|
82
91
|
/**
|
|
83
92
|
* The endpoint path to the debug adapter session.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-service.d.ts","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"debug-service.d.ts","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,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AAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAKhF,gFAA4E;AAU5E;;GAEG;AACU,QAAA,SAAS,GAAG,iBAAiB,CAAC;AAE3C;;GAEG;AACU,QAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"debug-service.js","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAKhF,gFAA4E;AAU5E;;GAEG;AACU,QAAA,SAAS,GAAG,iBAAiB,CAAC;AAE3C;;GAEG;AACU,QAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AA8FnD;;GAEG;AACU,QAAA,gBAAgB,GAAG,yBAAyB,CAAC;AAE1D,IAAiB,UAAU,CAK1B;AALD,WAAiB,UAAU;IACV,mBAAQ,GAAG,oCAAgB,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC;QACxE,OAAO,EAAE,IAAI,IAAI,mCAAmC;QACpD,IAAI,EAAE,EAAE,IAAI,EAAE;KACjB,CAAC,CAAC,CAAC;AACR,CAAC,EALgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAK1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-adapter-session.d.ts","sourceRoot":"","sources":["../../src/node/debug-adapter-session.ts"],"names":[],"mappings":"AAuBA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACtB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"debug-adapter-session.d.ts","sourceRoot":"","sources":["../../src/node/debug-adapter-session.ts"],"names":[],"mappings":"AAuBA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACtB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC;;GAEG;AACH,qBAAa,uBAAwB,YAAW,mBAAmB;IAM3D,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY;IALjD,OAAO,CAAC,OAAO,CAAsB;IACrC,OAAO,CAAC,QAAQ,CAAkB;gBAGrB,EAAE,EAAE,MAAM,EACA,YAAY,EAAE,YAAY;IAQ3C,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAY5C,SAAS,CAAC,kBAAkB,IAAI,IAAI;IASpC,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAWjD,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAMrC,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAMhC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAS9B"}
|
|
@@ -34,7 +34,7 @@ class DebugAdapterSessionImpl {
|
|
|
34
34
|
throw new Error('The session has already been started, id: ' + this.id);
|
|
35
35
|
}
|
|
36
36
|
this.channel = channel;
|
|
37
|
-
this.channel.onMessage(
|
|
37
|
+
this.channel.onMessage(message => this.write(message().readString()));
|
|
38
38
|
this.channel.onClose(() => this.channel = undefined);
|
|
39
39
|
}
|
|
40
40
|
onDebugAdapterExit() {
|
|
@@ -57,7 +57,7 @@ class DebugAdapterSessionImpl {
|
|
|
57
57
|
}
|
|
58
58
|
send(message) {
|
|
59
59
|
if (this.channel) {
|
|
60
|
-
this.channel.
|
|
60
|
+
this.channel.getWriteBuffer().writeString(message);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
write(message) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-adapter-session.js","sourceRoot":"","sources":["../../src/node/debug-adapter-session.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAgBhF;;GAEG;AACH,MAAa,uBAAuB;IAKhC,YACa,EAAU,EACA,YAA0B;QADpC,OAAE,GAAF,EAAE,CAAQ;QACA,iBAAY,GAAZ,YAAY,CAAc;QAJzC,aAAQ,GAAY,KAAK,CAAC;QAM9B,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC,OAAe,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QAC7E,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAC3D,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;IAExE,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,OAAgB;QAExB,OAAO,CAAC,KAAK,CAAC,mCAAmC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QAC7D,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,4CAA4C,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;SAC3E;QACD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAA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IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAClC;QACD,MAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC7B,CAAC;CACJ;AApED,0DAoEC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DebugConfiguration } from '../common/debug-configuration';
|
|
2
2
|
import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
|
|
3
3
|
import { MaybePromise } from '@theia/core/lib/common/types';
|
|
4
|
-
import { Event } from '@theia/core
|
|
5
|
-
import { Channel } from '../common/debug-service';
|
|
4
|
+
import { Channel, Event } from '@theia/core';
|
|
6
5
|
/**
|
|
7
6
|
* DebugAdapterSession symbol for DI.
|
|
8
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-model.d.ts","sourceRoot":"","sources":["../../src/node/debug-model.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"debug-model.d.ts","sourceRoot":"","sources":["../../src/node/debug-model.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAI7C;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAAgC,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,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E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;
|
|
1
|
+
{"version":3,"file":"debug-model.js","sourceRoot":"","sources":["../../src/node/debug-model.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAehF,kHAAkH;AAElH;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAcjE;;GAEG;AACU,QAAA,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAsE/E;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAUjE;;GAEG;AACU,QAAA,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { DebugConfiguration } from '../common/debug-configuration';
|
|
2
2
|
import { DebugService, DebuggerDescription } from '../common/debug-service';
|
|
3
3
|
import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
|
|
4
|
-
import { CommandIdVariables } from '@theia/variable-resolver/lib/
|
|
4
|
+
import { CommandIdVariables } from '@theia/variable-resolver/lib/common/variable-types';
|
|
5
5
|
import { DebugAdapterSessionManager } from './debug-adapter-session-manager';
|
|
6
6
|
import { DebugAdapterContributionRegistry } from './debug-adapter-contribution-registry';
|
|
7
|
+
import { Event } from '@theia/core';
|
|
7
8
|
/**
|
|
8
9
|
* DebugService implementation.
|
|
9
10
|
*/
|
|
10
11
|
export declare class DebugServiceImpl implements DebugService {
|
|
11
12
|
protected readonly sessionManager: DebugAdapterSessionManager;
|
|
12
13
|
protected readonly registry: DebugAdapterContributionRegistry;
|
|
14
|
+
get onDidChangeDebugConfigurationProviders(): Event<void>;
|
|
13
15
|
dispose(): void;
|
|
14
16
|
debugTypes(): Promise<string[]>;
|
|
15
17
|
getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>;
|
|
@@ -17,6 +19,8 @@ export declare class DebugServiceImpl implements DebugService {
|
|
|
17
19
|
getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>;
|
|
18
20
|
provideDebuggerVariables(debugType: string): Promise<CommandIdVariables>;
|
|
19
21
|
provideDebugConfigurations(debugType: string, workspaceFolderUri?: string): Promise<DebugConfiguration[]>;
|
|
22
|
+
provideDynamicDebugConfigurations(): Promise<Record<string, DebugConfiguration[]>>;
|
|
23
|
+
fetchDynamicDebugConfiguration(name: string, type: string): Promise<DebugConfiguration | undefined>;
|
|
20
24
|
resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
|
|
21
25
|
resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
|
|
22
26
|
protected readonly sessions: Set<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-service-impl.d.ts","sourceRoot":"","sources":["../../src/node/debug-service-impl.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"debug-service-impl.d.ts","sourceRoot":"","sources":["../../src/node/debug-service-impl.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,yBAAy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M,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAG/G,iDAAiD,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI7I,SAAS,CAAC,QAAQ,CAAC,QAAQ,cAAqB;IAC1C,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7F,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cAmB9C,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ3D"}
|
|
@@ -28,6 +28,7 @@ exports.DebugServiceImpl = void 0;
|
|
|
28
28
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
29
|
const debug_adapter_session_manager_1 = require("./debug-adapter-session-manager");
|
|
30
30
|
const debug_adapter_contribution_registry_1 = require("./debug-adapter-contribution-registry");
|
|
31
|
+
const core_1 = require("@theia/core");
|
|
31
32
|
/**
|
|
32
33
|
* DebugService implementation.
|
|
33
34
|
*/
|
|
@@ -35,6 +36,9 @@ let DebugServiceImpl = class DebugServiceImpl {
|
|
|
35
36
|
constructor() {
|
|
36
37
|
this.sessions = new Set();
|
|
37
38
|
}
|
|
39
|
+
get onDidChangeDebugConfigurationProviders() {
|
|
40
|
+
return core_1.Event.None;
|
|
41
|
+
}
|
|
38
42
|
dispose() {
|
|
39
43
|
this.terminateDebugSession();
|
|
40
44
|
}
|
|
@@ -57,6 +61,14 @@ let DebugServiceImpl = class DebugServiceImpl {
|
|
|
57
61
|
async provideDebugConfigurations(debugType, workspaceFolderUri) {
|
|
58
62
|
return this.registry.provideDebugConfigurations(debugType, workspaceFolderUri);
|
|
59
63
|
}
|
|
64
|
+
async provideDynamicDebugConfigurations() {
|
|
65
|
+
// TODO: Support dynamic debug configurations through Theia extensions?
|
|
66
|
+
return {};
|
|
67
|
+
}
|
|
68
|
+
fetchDynamicDebugConfiguration(name, type) {
|
|
69
|
+
// TODO: Support dynamic debug configurations through Theia extensions?
|
|
70
|
+
return Promise.resolve(undefined);
|
|
71
|
+
}
|
|
60
72
|
async resolveDebugConfiguration(config, workspaceFolderUri) {
|
|
61
73
|
return this.registry.resolveDebugConfiguration(config, workspaceFolderUri);
|
|
62
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-service-impl.js","sourceRoot":"","sources":["../../src/node/debug-service-impl.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,4DAAkE;
|
|
1
|
+
{"version":3,"file":"debug-service-impl.js","sourceRoot":"","sources":["../../src/node/debug-service-impl.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,4DAAkE;AAKlE,mFAA6E;AAC7E,+FAAyF;AACzF,sCAAoC;AAEpC;;GAEG;AAEH,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAA7B;QAuDuB,aAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;IAkCpD,CAAC;IAjFG,IAAI,sCAAsC;QACtC,OAAO,YAAK,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,qBAAqB,EAAE,CAAC;IACjC,CAAC;I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DAA0B;wDAAC;AAG9D;IADC,IAAA,kBAAM,EAAC,sEAAgC,CAAC;8BACZ,sEAAgC;kDAAC;AANrD,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAyF5B;AAzFY,4CAAgB"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/debug",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0-next.10+83d43084618",
|
|
4
4
|
"description": "Theia - Debug Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/console": "1.
|
|
7
|
-
"@theia/core": "1.
|
|
8
|
-
"@theia/editor": "1.
|
|
9
|
-
"@theia/filesystem": "1.
|
|
10
|
-
"@theia/markers": "1.
|
|
11
|
-
"@theia/monaco": "1.
|
|
6
|
+
"@theia/console": "1.27.0-next.10+83d43084618",
|
|
7
|
+
"@theia/core": "1.27.0-next.10+83d43084618",
|
|
8
|
+
"@theia/editor": "1.27.0-next.10+83d43084618",
|
|
9
|
+
"@theia/filesystem": "1.27.0-next.10+83d43084618",
|
|
10
|
+
"@theia/markers": "1.27.0-next.10+83d43084618",
|
|
11
|
+
"@theia/monaco": "1.27.0-next.10+83d43084618",
|
|
12
12
|
"@theia/monaco-editor-core": "1.65.2",
|
|
13
|
-
"@theia/output": "1.
|
|
14
|
-
"@theia/process": "1.
|
|
15
|
-
"@theia/task": "1.
|
|
16
|
-
"@theia/terminal": "1.
|
|
17
|
-
"@theia/variable-resolver": "1.
|
|
18
|
-
"@theia/workspace": "1.
|
|
13
|
+
"@theia/output": "1.27.0-next.10+83d43084618",
|
|
14
|
+
"@theia/process": "1.27.0-next.10+83d43084618",
|
|
15
|
+
"@theia/task": "1.27.0-next.10+83d43084618",
|
|
16
|
+
"@theia/terminal": "1.27.0-next.10+83d43084618",
|
|
17
|
+
"@theia/variable-resolver": "1.27.0-next.10+83d43084618",
|
|
18
|
+
"@theia/workspace": "1.27.0-next.10+83d43084618",
|
|
19
19
|
"jsonc-parser": "^2.2.0",
|
|
20
20
|
"mkdirp": "^0.5.0",
|
|
21
21
|
"p-debounce": "^2.1.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"nyc": {
|
|
69
69
|
"extends": "../../configs/nyc.json"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "83d430846182a2ccd8465bcfd28ba7214c42abf3"
|
|
72
72
|
}
|
|
@@ -189,7 +189,7 @@ export class DebugConsoleContribution extends AbstractViewContribution<ConsoleWi
|
|
|
189
189
|
return <SelectComponent
|
|
190
190
|
key="debugConsoleSeverity"
|
|
191
191
|
options={severityElements}
|
|
192
|
-
|
|
192
|
+
defaultValue={this.consoleSessionManager.severity || Severity.Ignore}
|
|
193
193
|
onChange={this.changeSeverity} />;
|
|
194
194
|
}
|
|
195
195
|
|
|
@@ -207,7 +207,7 @@ export class DebugConsoleContribution extends AbstractViewContribution<ConsoleWi
|
|
|
207
207
|
return <SelectComponent
|
|
208
208
|
key="debugConsoleSelector"
|
|
209
209
|
options={availableConsoles}
|
|
210
|
-
|
|
210
|
+
defaultValue={0}
|
|
211
211
|
onChange={this.changeDebugConsole} />;
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -86,10 +86,16 @@ export class DebugConfigurationManager {
|
|
|
86
86
|
return this.onWillProvideDynamicDebugConfigurationEmitter.event;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
get onDidChangeConfigurationProviders(): Event<void> {
|
|
90
|
+
return this.debug.onDidChangeDebugConfigurationProviders;
|
|
91
|
+
}
|
|
92
|
+
|
|
89
93
|
protected debugConfigurationTypeKey: ContextKey<string>;
|
|
90
94
|
|
|
91
95
|
protected initialized: Promise<void>;
|
|
92
96
|
|
|
97
|
+
protected recentDynamicOptionsTracker: DebugSessionOptions[] = [];
|
|
98
|
+
|
|
93
99
|
@postConstruct()
|
|
94
100
|
protected async init(): Promise<void> {
|
|
95
101
|
this.debugConfigurationTypeKey = this.contextKeyService.createKey<string>('debugConfigurationType', undefined);
|
|
@@ -126,6 +132,9 @@ export class DebugConfigurationManager {
|
|
|
126
132
|
this.updateCurrent();
|
|
127
133
|
}, 500);
|
|
128
134
|
|
|
135
|
+
/**
|
|
136
|
+
* All _non-dynamic_ debug configurations.
|
|
137
|
+
*/
|
|
129
138
|
get all(): IterableIterator<DebugSessionOptions> {
|
|
130
139
|
return this.getAll();
|
|
131
140
|
}
|
|
@@ -160,11 +169,61 @@ export class DebugConfigurationManager {
|
|
|
160
169
|
get current(): DebugSessionOptions | undefined {
|
|
161
170
|
return this._currentOptions;
|
|
162
171
|
}
|
|
172
|
+
|
|
173
|
+
async getSelectedConfiguration(): Promise<DebugSessionOptions | undefined> {
|
|
174
|
+
// providerType applies to dynamic configurations only
|
|
175
|
+
if (!this._currentOptions?.providerType) {
|
|
176
|
+
return this._currentOptions;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Refresh a dynamic configuration from the provider.
|
|
180
|
+
// This allow providers to update properties before the execution e.g. program
|
|
181
|
+
const { providerType, configuration: { name } } = this._currentOptions;
|
|
182
|
+
const configuration = await this.fetchDynamicDebugConfiguration(name, providerType);
|
|
183
|
+
|
|
184
|
+
if (!configuration) {
|
|
185
|
+
const message = nls.localize(
|
|
186
|
+
'theia/debug/missingConfiguration',
|
|
187
|
+
"Dynamic configuration '{0}:{1}' is missing or not applicable", providerType, name);
|
|
188
|
+
throw new Error(message);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
return { configuration, providerType };
|
|
192
|
+
}
|
|
193
|
+
|
|
163
194
|
set current(option: DebugSessionOptions | undefined) {
|
|
164
195
|
this.updateCurrent(option);
|
|
196
|
+
this.updateRecentlyUsedDynamicConfigurationOptions(option);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
protected updateRecentlyUsedDynamicConfigurationOptions(option: DebugSessionOptions | undefined): void {
|
|
200
|
+
if (option?.providerType) { // if it's a dynamic configuration option
|
|
201
|
+
// Removing an item already present in the list
|
|
202
|
+
const index = this.recentDynamicOptionsTracker.findIndex(item => this.dynamicOptionsMatch(item, option));
|
|
203
|
+
if (index > -1) {
|
|
204
|
+
this.recentDynamicOptionsTracker.splice(index, 1);
|
|
205
|
+
}
|
|
206
|
+
// Adding new item, most recent at the top of the list
|
|
207
|
+
const recentMax = 3;
|
|
208
|
+
if (this.recentDynamicOptionsTracker.unshift(option) > recentMax) {
|
|
209
|
+
// Keep the latest 3 dynamic configuration options to not clutter the dropdown.
|
|
210
|
+
this.recentDynamicOptionsTracker.splice(recentMax);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
165
213
|
}
|
|
214
|
+
|
|
215
|
+
protected dynamicOptionsMatch(one: DebugSessionOptions, other: DebugSessionOptions): boolean {
|
|
216
|
+
return one.providerType !== undefined
|
|
217
|
+
&& one.configuration.name === other.configuration.name
|
|
218
|
+
&& one.providerType === other.providerType;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
get recentDynamicOptions(): readonly DebugSessionOptions[] {
|
|
222
|
+
return this.recentDynamicOptionsTracker;
|
|
223
|
+
}
|
|
224
|
+
|
|
166
225
|
protected updateCurrent(options: DebugSessionOptions | undefined = this._currentOptions): void {
|
|
167
|
-
this._currentOptions = options &&
|
|
226
|
+
this._currentOptions = options && this.find(options.configuration, options.workspaceFolderUri, options.providerType);
|
|
168
227
|
|
|
169
228
|
if (!this._currentOptions) {
|
|
170
229
|
const model = this.getModel();
|
|
@@ -181,7 +240,24 @@ export class DebugConfigurationManager {
|
|
|
181
240
|
this.debugConfigurationTypeKey.set(this.current && this.current.configuration.type);
|
|
182
241
|
this.onDidChangeEmitter.fire(undefined);
|
|
183
242
|
}
|
|
184
|
-
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @deprecated since v1.27.0
|
|
246
|
+
*/
|
|
247
|
+
find(name: string, workspaceFolderUri: string): DebugSessionOptions | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* Find / Resolve DebugSessionOptions from a given target debug configuration
|
|
250
|
+
*/
|
|
251
|
+
find(targetConfiguration: DebugConfiguration, workspaceFolderUri?: string, providerType?: string): DebugSessionOptions | undefined;
|
|
252
|
+
find(nameOrTargetConfiguration: string | DebugConfiguration, workspaceFolderUri?: string, providerType?: string): DebugSessionOptions | undefined {
|
|
253
|
+
// providerType is only applicable to dynamic debug configurations
|
|
254
|
+
if (typeof nameOrTargetConfiguration === 'object' && providerType) {
|
|
255
|
+
return {
|
|
256
|
+
configuration: nameOrTargetConfiguration,
|
|
257
|
+
providerType
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
const name = typeof nameOrTargetConfiguration === 'string' ? nameOrTargetConfiguration : nameOrTargetConfiguration.name;
|
|
185
261
|
for (const model of this.models.values()) {
|
|
186
262
|
if (model.workspaceFolderUri === workspaceFolderUri) {
|
|
187
263
|
for (const configuration of model.configurations) {
|
|
@@ -194,7 +270,6 @@ export class DebugConfigurationManager {
|
|
|
194
270
|
}
|
|
195
271
|
}
|
|
196
272
|
}
|
|
197
|
-
return undefined;
|
|
198
273
|
}
|
|
199
274
|
|
|
200
275
|
async openConfiguration(): Promise<void> {
|
|
@@ -349,7 +424,13 @@ export class DebugConfigurationManager {
|
|
|
349
424
|
return this.debug.provideDynamicDebugConfigurations!();
|
|
350
425
|
}
|
|
351
426
|
|
|
427
|
+
async fetchDynamicDebugConfiguration(name: string, type: string): Promise<DebugConfiguration | undefined> {
|
|
428
|
+
await this.fireWillProvideDynamicDebugConfiguration();
|
|
429
|
+
return this.debug.fetchDynamicDebugConfiguration(name, type);
|
|
430
|
+
}
|
|
431
|
+
|
|
352
432
|
protected async fireWillProvideDynamicDebugConfiguration(): Promise<void> {
|
|
433
|
+
await this.initialized;
|
|
353
434
|
await WaitUntilEvent.fire(this.onWillProvideDynamicDebugConfigurationEmitter, {});
|
|
354
435
|
}
|
|
355
436
|
|
|
@@ -384,29 +465,43 @@ export class DebugConfigurationManager {
|
|
|
384
465
|
async load(): Promise<void> {
|
|
385
466
|
await this.initialized;
|
|
386
467
|
const data = await this.storage.getData<DebugConfigurationManager.Data>('debug.configurations', {});
|
|
387
|
-
|
|
388
|
-
|
|
468
|
+
this.resolveRecentDynamicOptionsFromData(data.recentDynamicOptions);
|
|
469
|
+
|
|
470
|
+
// Between versions v1.26 and v1.27, the expected format of the data changed so that old stored data
|
|
471
|
+
// may not contain the configuration key.
|
|
472
|
+
if (data.current && 'configuration' in data.current) {
|
|
473
|
+
this.current = this.find(data.current.configuration, data.current.workspaceFolderUri, data.current.providerType);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
protected resolveRecentDynamicOptionsFromData(options?: DebugSessionOptions[]): void {
|
|
478
|
+
if (!options || this.recentDynamicOptionsTracker.length !== 0) {
|
|
479
|
+
return;
|
|
389
480
|
}
|
|
481
|
+
|
|
482
|
+
this.recentDynamicOptionsTracker = options;
|
|
390
483
|
}
|
|
391
484
|
|
|
392
485
|
save(): void {
|
|
393
486
|
const data: DebugConfigurationManager.Data = {};
|
|
394
|
-
const { current } = this;
|
|
487
|
+
const { current, recentDynamicOptionsTracker } = this;
|
|
395
488
|
if (current) {
|
|
396
|
-
data.current =
|
|
397
|
-
name: current.configuration.name,
|
|
398
|
-
workspaceFolderUri: current.workspaceFolderUri
|
|
399
|
-
};
|
|
489
|
+
data.current = current;
|
|
400
490
|
}
|
|
401
|
-
this.storage.setData('debug.configurations', data);
|
|
402
|
-
}
|
|
403
491
|
|
|
492
|
+
if (this.recentDynamicOptionsTracker.length > 0) {
|
|
493
|
+
data.recentDynamicOptions = recentDynamicOptionsTracker;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
if (Object.keys(data).length > 0) {
|
|
497
|
+
this.storage.setData('debug.configurations', data);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
404
500
|
}
|
|
501
|
+
|
|
405
502
|
export namespace DebugConfigurationManager {
|
|
406
503
|
export interface Data {
|
|
407
|
-
current?:
|
|
408
|
-
|
|
409
|
-
workspaceFolderUri?: string
|
|
410
|
-
}
|
|
504
|
+
current?: DebugSessionOptions,
|
|
505
|
+
recentDynamicOptions?: DebugSessionOptions[]
|
|
411
506
|
}
|
|
412
507
|
}
|
|
@@ -23,12 +23,6 @@ export interface DebugContribution {
|
|
|
23
23
|
register(configType: string, connection: DebugSessionConnection): void;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface DebugPluginConfiguration {
|
|
27
|
-
debugMode?: string;
|
|
28
|
-
pluginLocation?: string;
|
|
29
|
-
debugPort?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
26
|
// copied from https://github.com/microsoft/vscode-node-debug2/blob/bcd333ef87642b817ac96d28fde7ab96fee3f6a9/src/nodeDebugInterfaces.d.ts
|
|
33
27
|
export interface LaunchVSCodeRequest extends DebugProtocol.Request {
|
|
34
28
|
arguments: LaunchVSCodeArguments;
|
|
@@ -123,10 +123,10 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
|
|
|
123
123
|
|
|
124
124
|
// Resolve dynamic configurations from providers
|
|
125
125
|
const record = await this.debugConfigurationManager.provideDynamicDebugConfigurations();
|
|
126
|
-
for (const [
|
|
126
|
+
for (const [providerType, dynamicConfigurations] of Object.entries(record)) {
|
|
127
127
|
if (dynamicConfigurations.length > 0) {
|
|
128
128
|
items.push({
|
|
129
|
-
label:
|
|
129
|
+
label: providerType,
|
|
130
130
|
type: 'separator'
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -134,7 +134,7 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
|
|
|
134
134
|
for (const configuration of dynamicConfigurations) {
|
|
135
135
|
items.push({
|
|
136
136
|
label: configuration.name,
|
|
137
|
-
execute: () => this.
|
|
137
|
+
execute: () => this.runConfiguration({ configuration, providerType })
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -145,21 +145,13 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
|
|
|
145
145
|
/**
|
|
146
146
|
* Set the current debug configuration, and execute debug start command.
|
|
147
147
|
*
|
|
148
|
-
* @param
|
|
148
|
+
* @param configurationOptions the `DebugSessionOptions`.
|
|
149
149
|
*/
|
|
150
|
-
protected runConfiguration(
|
|
151
|
-
this.debugConfigurationManager.current =
|
|
150
|
+
protected runConfiguration(configurationOptions: DebugSessionOptions): void {
|
|
151
|
+
this.debugConfigurationManager.current = configurationOptions;
|
|
152
152
|
this.commandRegistry.executeCommand(DebugCommands.START.id);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
/**
|
|
156
|
-
* Execute the debug start command without affecting the current debug configuration
|
|
157
|
-
* @param configuration the `DebugSessionOptions`.
|
|
158
|
-
*/
|
|
159
|
-
protected runDynamicConfiguration(configuration: DebugSessionOptions): void {
|
|
160
|
-
this.commandRegistry.executeCommand(DebugCommands.START.id, configuration);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
155
|
/**
|
|
164
156
|
* Handle the visibility of the debug status bar.
|
|
165
157
|
* @param event the preference change event.
|
|
@@ -18,13 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
import { DebugProtocol } from 'vscode-debugprotocol';
|
|
20
20
|
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
21
|
-
import { Event, Emitter, DisposableCollection, Disposable, MaybePromise } from '@theia/core';
|
|
21
|
+
import { Event, Emitter, DisposableCollection, Disposable, MaybePromise, Channel } from '@theia/core';
|
|
22
22
|
import { OutputChannel } from '@theia/output/lib/browser/output-channel';
|
|
23
23
|
|
|
24
|
-
import { Channel } from '../common/debug-service';
|
|
25
|
-
|
|
26
|
-
export type DebugRequestHandler = (request: DebugProtocol.Request) => MaybePromise<any>;
|
|
27
|
-
|
|
28
24
|
export interface DebugRequestTypes {
|
|
29
25
|
'attach': [DebugProtocol.AttachRequestArguments, DebugProtocol.AttachResponse]
|
|
30
26
|
'breakpointLocations': [DebugProtocol.BreakpointLocationsArguments, DebugProtocol.BreakpointLocationsResponse]
|
|
@@ -116,6 +112,8 @@ const standardDebugEvents = new Set<string>([
|
|
|
116
112
|
'thread'
|
|
117
113
|
]);
|
|
118
114
|
|
|
115
|
+
export type DebugRequestHandler = (request: DebugProtocol.Request) => MaybePromise<any>;
|
|
116
|
+
|
|
119
117
|
export class DebugSessionConnection implements Disposable {
|
|
120
118
|
|
|
121
119
|
private sequence = 1;
|
|
@@ -168,7 +166,7 @@ export class DebugSessionConnection implements Disposable {
|
|
|
168
166
|
this.cancelPendingRequests();
|
|
169
167
|
this.onDidCloseEmitter.fire();
|
|
170
168
|
});
|
|
171
|
-
connection.onMessage(data => this.handleMessage(data));
|
|
169
|
+
connection.onMessage(data => this.handleMessage(data().readString()));
|
|
172
170
|
return connection;
|
|
173
171
|
}
|
|
174
172
|
|
|
@@ -247,7 +245,7 @@ export class DebugSessionConnection implements Disposable {
|
|
|
247
245
|
const dateStr = `${now.toLocaleString(undefined, { hour12: false })}.${now.getMilliseconds()}`;
|
|
248
246
|
this.traceOutputChannel.appendLine(`${this.sessionId.substring(0, 8)} ${dateStr} theia -> adapter: ${JSON.stringify(message, undefined, 4)}`);
|
|
249
247
|
}
|
|
250
|
-
connection.
|
|
248
|
+
connection.getWriteBuffer().writeString(messageStr).commit();
|
|
251
249
|
}
|
|
252
250
|
|
|
253
251
|
protected handleMessage(data: string): void {
|
|
@@ -26,10 +26,11 @@ import { DebugSessionOptions } from './debug-session-options';
|
|
|
26
26
|
import { OutputChannelManager, OutputChannel } from '@theia/output/lib/browser/output-channel';
|
|
27
27
|
import { DebugPreferences } from './debug-preferences';
|
|
28
28
|
import { DebugSessionConnection } from './debug-session-connection';
|
|
29
|
-
import {
|
|
29
|
+
import { DebugAdapterPath } from '../common/debug-service';
|
|
30
30
|
import { ContributionProvider } from '@theia/core/lib/common/contribution-provider';
|
|
31
31
|
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
32
32
|
import { DebugContribution } from './debug-contribution';
|
|
33
|
+
import { Channel } from '@theia/core/lib/common/message-rpc/channel';
|
|
33
34
|
import { WorkspaceService } from '@theia/workspace/lib/browser';
|
|
34
35
|
|
|
35
36
|
/**
|
|
@@ -16,15 +16,42 @@
|
|
|
16
16
|
|
|
17
17
|
import { DebugConfiguration } from '../common/debug-common';
|
|
18
18
|
|
|
19
|
-
export interface
|
|
19
|
+
export interface DebugSessionOptionsBase {
|
|
20
|
+
workspaceFolderUri?: string,
|
|
21
|
+
providerType?: string // Applicable to dynamic configurations
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface DebugSessionOptions extends DebugSessionOptionsBase {
|
|
20
25
|
configuration: DebugConfiguration
|
|
21
|
-
workspaceFolderUri?: string
|
|
22
26
|
}
|
|
27
|
+
|
|
28
|
+
export interface DebugSessionOptionsData extends DebugSessionOptionsBase, DebugConfiguration {
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
export interface InternalDebugSessionOptions extends DebugSessionOptions {
|
|
24
32
|
id: number
|
|
25
33
|
}
|
|
26
34
|
export namespace InternalDebugSessionOptions {
|
|
35
|
+
|
|
36
|
+
const SEPARATOR = '__CONF__';
|
|
37
|
+
|
|
27
38
|
export function is(options: DebugSessionOptions): options is InternalDebugSessionOptions {
|
|
28
|
-
return
|
|
39
|
+
return 'id' in options;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function toValue(debugSessionOptions: DebugSessionOptions): string {
|
|
43
|
+
return debugSessionOptions.configuration.name + SEPARATOR +
|
|
44
|
+
debugSessionOptions.configuration.type + SEPARATOR +
|
|
45
|
+
debugSessionOptions.configuration.request + SEPARATOR +
|
|
46
|
+
debugSessionOptions.workspaceFolderUri + SEPARATOR +
|
|
47
|
+
debugSessionOptions.providerType;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function parseValue(value: string): DebugSessionOptionsData {
|
|
51
|
+
const split = value.split(SEPARATOR);
|
|
52
|
+
if (split.length !== 5) {
|
|
53
|
+
throw new Error('Unexpected argument, the argument is expected to have been generated by the \'toValue\' function');
|
|
54
|
+
}
|
|
55
|
+
return {name: split[0], type: split[1], request: split[2], workspaceFolderUri: split[3], providerType: split[4]};
|
|
29
56
|
}
|
|
30
57
|
}
|