@theia/debug 1.27.0-next.2 → 1.27.0-next.24

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.
Files changed (67) hide show
  1. package/lib/browser/console/debug-console-contribution.js +2 -2
  2. package/lib/browser/console/debug-console-contribution.js.map +1 -1
  3. package/lib/browser/debug-configuration-manager.d.ts +21 -5
  4. package/lib/browser/debug-configuration-manager.d.ts.map +1 -1
  5. package/lib/browser/debug-configuration-manager.js +81 -11
  6. package/lib/browser/debug-configuration-manager.js.map +1 -1
  7. package/lib/browser/debug-contribution.d.ts +0 -5
  8. package/lib/browser/debug-contribution.d.ts.map +1 -1
  9. package/lib/browser/debug-prefix-configuration.d.ts +2 -7
  10. package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
  11. package/lib/browser/debug-prefix-configuration.js +6 -13
  12. package/lib/browser/debug-prefix-configuration.js.map +1 -1
  13. package/lib/browser/debug-session-connection.d.ts +4 -4
  14. package/lib/browser/debug-session-connection.d.ts.map +1 -1
  15. package/lib/browser/debug-session-connection.js.map +1 -1
  16. package/lib/browser/debug-session-contribution.js +2 -2
  17. package/lib/browser/debug-session-contribution.js.map +1 -1
  18. package/lib/browser/debug-session-options.d.ts +9 -2
  19. package/lib/browser/debug-session-options.d.ts.map +1 -1
  20. package/lib/browser/debug-session-options.js +18 -1
  21. package/lib/browser/debug-session-options.js.map +1 -1
  22. package/lib/browser/editor/debug-breakpoint-widget.js +1 -1
  23. package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -1
  24. package/lib/browser/view/debug-configuration-select.d.ts +59 -0
  25. package/lib/browser/view/debug-configuration-select.d.ts.map +1 -0
  26. package/lib/browser/view/debug-configuration-select.js +183 -0
  27. package/lib/browser/view/debug-configuration-select.js.map +1 -0
  28. package/lib/browser/view/debug-configuration-widget.d.ts +5 -10
  29. package/lib/browser/view/debug-configuration-widget.d.ts.map +1 -1
  30. package/lib/browser/view/debug-configuration-widget.js +21 -54
  31. package/lib/browser/view/debug-configuration-widget.js.map +1 -1
  32. package/lib/common/debug-configuration.d.ts +0 -2
  33. package/lib/common/debug-configuration.d.ts.map +1 -1
  34. package/lib/common/debug-configuration.js.map +1 -1
  35. package/lib/common/debug-service.d.ts +26 -4
  36. package/lib/common/debug-service.d.ts.map +1 -1
  37. package/lib/common/debug-service.js +31 -1
  38. package/lib/common/debug-service.js.map +1 -1
  39. package/lib/node/debug-adapter-session-manager.js +3 -3
  40. package/lib/node/debug-adapter-session-manager.js.map +1 -1
  41. package/lib/node/debug-adapter-session.d.ts +2 -2
  42. package/lib/node/debug-adapter-session.d.ts.map +1 -1
  43. package/lib/node/debug-adapter-session.js.map +1 -1
  44. package/lib/node/debug-model.d.ts +3 -3
  45. package/lib/node/debug-model.d.ts.map +1 -1
  46. package/lib/node/debug-service-impl.d.ts +4 -0
  47. package/lib/node/debug-service-impl.d.ts.map +1 -1
  48. package/lib/node/debug-service-impl.js +12 -0
  49. package/lib/node/debug-service-impl.js.map +1 -1
  50. package/package.json +14 -14
  51. package/src/browser/console/debug-console-contribution.tsx +2 -2
  52. package/src/browser/debug-call-stack-item-type-key.ts +1 -1
  53. package/src/browser/debug-configuration-manager.ts +111 -16
  54. package/src/browser/debug-contribution.ts +0 -6
  55. package/src/browser/debug-prefix-configuration.ts +6 -14
  56. package/src/browser/debug-session-connection.ts +4 -4
  57. package/src/browser/debug-session-contribution.ts +4 -4
  58. package/src/browser/debug-session-options.ts +30 -3
  59. package/src/browser/editor/debug-breakpoint-widget.tsx +1 -1
  60. package/src/browser/view/debug-configuration-select.tsx +234 -0
  61. package/src/browser/view/debug-configuration-widget.tsx +24 -55
  62. package/src/common/debug-configuration.ts +0 -3
  63. package/src/common/debug-service.ts +47 -5
  64. package/src/node/debug-adapter-session-manager.ts +4 -4
  65. package/src/node/debug-adapter-session.ts +3 -3
  66. package/src/node/debug-model.ts +3 -3
  67. package/src/node/debug-service-impl.ts +13 -1
@@ -21,6 +21,7 @@ import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-sch
21
21
  import { CommandIdVariables } from '@theia/variable-resolver/lib/common/variable-types';
22
22
  import { DebugAdapterSessionManager } from './debug-adapter-session-manager';
23
23
  import { DebugAdapterContributionRegistry } from './debug-adapter-contribution-registry';
24
+ import { Event } from '@theia/core';
24
25
 
25
26
  /**
26
27
  * DebugService implementation.
@@ -34,6 +35,10 @@ export class DebugServiceImpl implements DebugService {
34
35
  @inject(DebugAdapterContributionRegistry)
35
36
  protected readonly registry: DebugAdapterContributionRegistry;
36
37
 
38
+ get onDidChangeDebugConfigurationProviders(): Event<void> {
39
+ return Event.None;
40
+ }
41
+
37
42
  dispose(): void {
38
43
  this.terminateDebugSession();
39
44
  }
@@ -62,6 +67,14 @@ export class DebugServiceImpl implements DebugService {
62
67
  async provideDebugConfigurations(debugType: string, workspaceFolderUri?: string): Promise<DebugConfiguration[]> {
63
68
  return this.registry.provideDebugConfigurations(debugType, workspaceFolderUri);
64
69
  }
70
+ async provideDynamicDebugConfigurations(): Promise<Record<string, DebugConfiguration[]>> {
71
+ // TODO: Support dynamic debug configurations through Theia extensions?
72
+ return {};
73
+ }
74
+ fetchDynamicDebugConfiguration(name: string, type: string): Promise<DebugConfiguration | undefined> {
75
+ // TODO: Support dynamic debug configurations through Theia extensions?
76
+ return Promise.resolve(undefined);
77
+ }
65
78
  async resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration> {
66
79
  return this.registry.resolveDebugConfiguration(config, workspaceFolderUri);
67
80
  }
@@ -103,5 +116,4 @@ export class DebugServiceImpl implements DebugService {
103
116
  await debugSession.stop();
104
117
  }
105
118
  }
106
-
107
119
  }