@opensumi/ide-debug 2.21.5-rc-1668586502.0 → 2.21.5-rc-1669016550.0
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/index.d.ts.map +1 -1
- package/lib/browser/index.js +9 -2
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/preferences/launch-folder-preference-provider.d.ts +2 -2
- package/lib/browser/preferences/launch-folder-preference-provider.d.ts.map +1 -1
- package/lib/browser/preferences/launch-folder-preference-provider.js +2 -2
- package/lib/browser/preferences/launch-folder-preference-provider.js.map +1 -1
- package/lib/browser/view/console/debug-console.module.less +0 -1
- package/lib/browser/view/variables/debug-variables.module.less +0 -1
- package/lib/browser/view/watch/debug-watch.module.less +0 -1
- package/package.json +24 -24
- package/src/browser/index.ts +17 -3
- package/src/browser/preferences/launch-folder-preference-provider.ts +2 -2
- package/src/browser/view/console/debug-console.module.less +0 -1
- package/src/browser/view/variables/debug-variables.module.less +0 -1
- package/src/browser/view/watch/debug-watch.module.less +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAwB,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAsB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAwB,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAsB,MAAM,4BAA4B,CAAC;AAgB/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAoB7D,OAAO,oBAAoB,CAAC;AAE5B,qBACa,WAAY,SAAQ,aAAa;IAC5C,SAAS,EAAE,QAAQ,EAAE,CAsEnB;IAEF,oBAAoB,SAA4B;IAEhD,WAAW,gCAA0B;IAErC,SAAS,UAAQ;IACjB,SAAS,4CAA6B;CACvC;AAED,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
package/lib/browser/index.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.DebugModule = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const di_1 = require("@opensumi/di");
|
|
6
6
|
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
7
|
-
const
|
|
7
|
+
const folder_preference_provider_1 = require("@opensumi/ide-preferences/lib/browser/folder-preference-provider");
|
|
8
8
|
const common_1 = require("../common");
|
|
9
9
|
const breakpoint_1 = require("./breakpoint");
|
|
10
10
|
const contextkeys_1 = require("./contextkeys");
|
|
@@ -59,7 +59,7 @@ let DebugModule = class DebugModule extends ide_core_browser_1.BrowserModule {
|
|
|
59
59
|
useClass: evaluatable_expression_1.EvaluatableExpressionServiceImpl,
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
token:
|
|
62
|
+
token: folder_preference_provider_1.FolderPreferenceProvider,
|
|
63
63
|
useClass: launch_folder_preference_provider_1.LaunchFolderPreferenceProvider,
|
|
64
64
|
dropdownForTag: true,
|
|
65
65
|
tag: 'launch',
|
|
@@ -76,6 +76,13 @@ let DebugModule = class DebugModule extends ide_core_browser_1.BrowserModule {
|
|
|
76
76
|
token: common_1.IDebugService,
|
|
77
77
|
useClass: debug_service_1.DebugService,
|
|
78
78
|
},
|
|
79
|
+
// 这里原本的实现意图就是Debug作为单独模块执行时使用Node作为调试进程的启动及连接逻辑
|
|
80
|
+
// 在当前调试依赖插件进程的前提下,没必要引入这块冗余代码带来混淆
|
|
81
|
+
// packages/extension/src/browser/index.ts#L30
|
|
82
|
+
{
|
|
83
|
+
token: common_1.IDebugServer,
|
|
84
|
+
useValue: {},
|
|
85
|
+
},
|
|
79
86
|
{
|
|
80
87
|
token: common_1.IDebugProgress,
|
|
81
88
|
useClass: debug_progress_service_1.DebugProgressService,
|
package/lib/browser/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";;;;AAAA,qCAA8D;AAC9D,iEAA+E;AAC/E,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";;;;AAAA,qCAA8D;AAC9D,iEAA+E;AAC/E,iHAA4G;AAE5G,sCAOmB;AAEnB,6CAAiD;AACjD,+CAA0D;AAC1D,+EAA0E;AAC1E,6DAAyD;AACzD,2DAA6D;AAC7D,qEAAgE;AAChE,mDAA+C;AAC/C,6EAIsC;AACtC,mEAA8D;AAC9D,qCAAkF;AAClF,oEAA+D;AAC/D,4EAAkH;AAClH,uGAAiG;AACjG,mGAA8F;AAC9F,gFAAoF;AACpF,0FAAqF;AACrF,+FAAyF;AACzF,gGAA2F;AAC3F,oFAA+E;AAE/E,8BAA4B;AAG5B,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,gCAAa;IAA9C;;QACE,cAAS,GAAe;YACtB;gBACE,KAAK,EAAE,qCAAgB;gBACvB,QAAQ,EAAE,qCAAgB;aAC3B;YACD;gBACE,KAAK,EAAE,gCAAuB;gBAC9B,QAAQ,EAAE,gCAAuB;aAClC;YACD;gBACE,KAAK,EAAE,0BAAiB;gBACxB,QAAQ,EAAE,0BAAiB;aAC5B;YACD;gBACE,KAAK,EAAE,6BAAoB;gBAC3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yB,CAAC;IACxC,CAAC;CAAA,CAAA;AA/EY,WAAW;IADvB,IAAA,eAAU,GAAE;GACA,WAAW,CA+EvB;AA/EY,kCAAW;AAiFxB,uDAA6B;AAC7B,wDAA8B;AAC9B,wEAA8C;AAC9C,sEAA4C;AAC5C,+DAAqC;AACrC,8DAAoC;AACpC,iEAAuC;AACvC,0DAAgC;AAChC,qEAA2C;AAC3C,uEAA6C;AAC7C,kEAAwC;AACxC,uEAA6C;AAC7C,oDAA0B;AAC1B,kDAAwB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class LaunchFolderPreferenceProvider extends
|
|
1
|
+
import { FolderPreferenceProvider } from '@opensumi/ide-preferences/lib/browser/folder-preference-provider';
|
|
2
|
+
export declare class LaunchFolderPreferenceProvider extends FolderPreferenceProvider {
|
|
3
3
|
protected parse(content: string): any;
|
|
4
4
|
protected getPath(preferenceName: string): string[] | undefined;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-folder-preference-provider.d.ts","sourceRoot":"","sources":["../../../src/browser/preferences/launch-folder-preference-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"launch-folder-preference-provider.d.ts","sourceRoot":"","sources":["../../../src/browser/preferences/launch-folder-preference-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kEAAkE,CAAC;AAE5G,qBACa,8BAA+B,SAAQ,wBAAwB;IAC1E,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG;IAQrC,SAAS,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;CAShE"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LaunchFolderPreferenceProvider = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const di_1 = require("@opensumi/di");
|
|
6
|
-
const
|
|
7
|
-
let LaunchFolderPreferenceProvider = class LaunchFolderPreferenceProvider extends
|
|
6
|
+
const folder_preference_provider_1 = require("@opensumi/ide-preferences/lib/browser/folder-preference-provider");
|
|
7
|
+
let LaunchFolderPreferenceProvider = class LaunchFolderPreferenceProvider extends folder_preference_provider_1.FolderPreferenceProvider {
|
|
8
8
|
parse(content) {
|
|
9
9
|
const launch = super.parse(content);
|
|
10
10
|
if (launch === undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-folder-preference-provider.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-folder-preference-provider.ts"],"names":[],"mappings":";;;;AAAA,qCAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"launch-folder-preference-provider.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-folder-preference-provider.ts"],"names":[],"mappings":";;;;AAAA,qCAA0C;AAC1C,iHAA4G;AAG5G,IAAa,8BAA8B,GAA3C,MAAa,8BAA+B,SAAQ,qDAAwB;IAChE,KAAK,CAAC,OAAe;QAC7B,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,OAAO,SAAS,CAAC;SAClB;QACD,OAAO,EAAE,MAAM,oBAAO,MAAM,CAAE,EAAE,CAAC;IACnC,CAAC;IAES,OAAO,CAAC,cAAsB;QACtC,IAAI,cAAc,KAAK,QAAQ,EAAE;YAC/B,OAAO,EAAE,CAAC;SACX;QACD,IAAI,cAAc,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;YACxC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;SAClD;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF,CAAA;AAlBY,8BAA8B;IAD1C,IAAA,eAAU,GAAE;GACA,8BAA8B,CAkB1C;AAlBY,wEAA8B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-debug",
|
|
3
|
-
"version": "2.21.5-rc-
|
|
3
|
+
"version": "2.21.5-rc-1669016550.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"src"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"main": "lib/index.js",
|
|
10
10
|
"typings": "lib/index.d.ts",
|
|
11
11
|
"scripts": {
|
|
12
|
-
"prepublishOnly": "
|
|
12
|
+
"prepublishOnly": "yarn run build",
|
|
13
13
|
"build": "tsc --build ../../configs/ts/references/tsconfig.debug.json"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
@@ -17,33 +17,33 @@
|
|
|
17
17
|
"url": "git@github.com:opensumi/core.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-connection": "2.21.5-rc-
|
|
21
|
-
"@opensumi/ide-core-common": "2.21.5-rc-
|
|
22
|
-
"@opensumi/ide-core-node": "2.21.5-rc-
|
|
23
|
-
"@opensumi/ide-file-service": "2.21.5-rc-
|
|
24
|
-
"@opensumi/ide-task": "2.21.5-rc-
|
|
25
|
-
"@opensumi/ide-terminal-next": "2.21.5-rc-
|
|
20
|
+
"@opensumi/ide-connection": "2.21.5-rc-1669016550.0",
|
|
21
|
+
"@opensumi/ide-core-common": "2.21.5-rc-1669016550.0",
|
|
22
|
+
"@opensumi/ide-core-node": "2.21.5-rc-1669016550.0",
|
|
23
|
+
"@opensumi/ide-file-service": "2.21.5-rc-1669016550.0",
|
|
24
|
+
"@opensumi/ide-task": "2.21.5-rc-1669016550.0",
|
|
25
|
+
"@opensumi/ide-terminal-next": "2.21.5-rc-1669016550.0",
|
|
26
26
|
"anser": "^1.4.9",
|
|
27
27
|
"btoa": "^1.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@opensumi/ide-components": "2.21.5-rc-
|
|
31
|
-
"@opensumi/ide-core-browser": "2.21.5-rc-
|
|
30
|
+
"@opensumi/ide-components": "2.21.5-rc-1669016550.0",
|
|
31
|
+
"@opensumi/ide-core-browser": "2.21.5-rc-1669016550.0",
|
|
32
32
|
"@opensumi/ide-dev-tool": "^1.3.1",
|
|
33
|
-
"@opensumi/ide-editor": "2.21.5-rc-
|
|
34
|
-
"@opensumi/ide-main-layout": "2.21.5-rc-
|
|
35
|
-
"@opensumi/ide-monaco": "2.21.5-rc-
|
|
36
|
-
"@opensumi/ide-monaco-enhance": "2.21.5-rc-
|
|
37
|
-
"@opensumi/ide-output": "2.21.5-rc-
|
|
38
|
-
"@opensumi/ide-overlay": "2.21.5-rc-
|
|
39
|
-
"@opensumi/ide-preferences": "2.21.5-rc-
|
|
40
|
-
"@opensumi/ide-quick-open": "2.21.5-rc-
|
|
41
|
-
"@opensumi/ide-storage": "2.21.5-rc-
|
|
42
|
-
"@opensumi/ide-theme": "2.21.5-rc-
|
|
43
|
-
"@opensumi/ide-variable": "2.21.5-rc-
|
|
44
|
-
"@opensumi/ide-workspace": "2.21.5-rc-
|
|
45
|
-
"@opensumi/ide-workspace-edit": "2.21.5-rc-
|
|
33
|
+
"@opensumi/ide-editor": "2.21.5-rc-1669016550.0",
|
|
34
|
+
"@opensumi/ide-main-layout": "2.21.5-rc-1669016550.0",
|
|
35
|
+
"@opensumi/ide-monaco": "2.21.5-rc-1669016550.0",
|
|
36
|
+
"@opensumi/ide-monaco-enhance": "2.21.5-rc-1669016550.0",
|
|
37
|
+
"@opensumi/ide-output": "2.21.5-rc-1669016550.0",
|
|
38
|
+
"@opensumi/ide-overlay": "2.21.5-rc-1669016550.0",
|
|
39
|
+
"@opensumi/ide-preferences": "2.21.5-rc-1669016550.0",
|
|
40
|
+
"@opensumi/ide-quick-open": "2.21.5-rc-1669016550.0",
|
|
41
|
+
"@opensumi/ide-storage": "2.21.5-rc-1669016550.0",
|
|
42
|
+
"@opensumi/ide-theme": "2.21.5-rc-1669016550.0",
|
|
43
|
+
"@opensumi/ide-variable": "2.21.5-rc-1669016550.0",
|
|
44
|
+
"@opensumi/ide-workspace": "2.21.5-rc-1669016550.0",
|
|
45
|
+
"@opensumi/ide-workspace-edit": "2.21.5-rc-1669016550.0",
|
|
46
46
|
"@types/btoa": "^1.2.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3630d77ba3e99f7b7a5ee8933e009ddfadc3d412"
|
|
49
49
|
}
|
package/src/browser/index.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { Injectable, Injector, Provider } from '@opensumi/di';
|
|
2
2
|
import { BrowserModule, IContextKeyService } from '@opensumi/ide-core-browser';
|
|
3
|
-
import {
|
|
3
|
+
import { FolderPreferenceProvider } from '@opensumi/ide-preferences/lib/browser/folder-preference-provider';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
DebugEditor,
|
|
7
|
+
DebugModelFactory,
|
|
8
|
+
IDebugProgress,
|
|
9
|
+
IDebugServer,
|
|
10
|
+
IDebugService,
|
|
11
|
+
IDebugSessionManager,
|
|
12
|
+
} from '../common';
|
|
6
13
|
|
|
7
14
|
import { BreakpointManager } from './breakpoint';
|
|
8
15
|
import { DebugCallStackItemTypeKey } from './contextkeys';
|
|
@@ -62,7 +69,7 @@ export class DebugModule extends BrowserModule {
|
|
|
62
69
|
useClass: EvaluatableExpressionServiceImpl,
|
|
63
70
|
},
|
|
64
71
|
{
|
|
65
|
-
token:
|
|
72
|
+
token: FolderPreferenceProvider,
|
|
66
73
|
useClass: LaunchFolderPreferenceProvider,
|
|
67
74
|
dropdownForTag: true,
|
|
68
75
|
tag: 'launch',
|
|
@@ -79,6 +86,13 @@ export class DebugModule extends BrowserModule {
|
|
|
79
86
|
token: IDebugService,
|
|
80
87
|
useClass: DebugService,
|
|
81
88
|
},
|
|
89
|
+
// 这里原本的实现意图就是Debug作为单独模块执行时使用Node作为调试进程的启动及连接逻辑
|
|
90
|
+
// 在当前调试依赖插件进程的前提下,没必要引入这块冗余代码带来混淆
|
|
91
|
+
// packages/extension/src/browser/index.ts#L30
|
|
92
|
+
{
|
|
93
|
+
token: IDebugServer,
|
|
94
|
+
useValue: {},
|
|
95
|
+
},
|
|
82
96
|
{
|
|
83
97
|
token: IDebugProgress,
|
|
84
98
|
useClass: DebugProgressService,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injectable } from '@opensumi/di';
|
|
2
|
-
import {
|
|
2
|
+
import { FolderPreferenceProvider } from '@opensumi/ide-preferences/lib/browser/folder-preference-provider';
|
|
3
3
|
|
|
4
4
|
@Injectable()
|
|
5
|
-
export class LaunchFolderPreferenceProvider extends
|
|
5
|
+
export class LaunchFolderPreferenceProvider extends FolderPreferenceProvider {
|
|
6
6
|
protected parse(content: string): any {
|
|
7
7
|
const launch = super.parse(content);
|
|
8
8
|
if (launch === undefined) {
|