Skip to content

Commit

Permalink
removed debug-nodejs and java-debug
Browse files Browse the repository at this point in the history
Fixes #6111

Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
  • Loading branch information
svenefftinge committed Sep 6, 2019
1 parent 78e0b20 commit c405a98
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 1,163 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ cache:
- packages/console/node_modules
- packages/core/node_modules
- packages/cpp/node_modules
- packages/debug-nodejs/node_modules
- packages/debug/node_modules
- packages/editor-preview/node_modules
- packages/editor/node_modules
Expand All @@ -31,7 +30,6 @@ cache:
- packages/filesystem/node_modules
- packages/getting-started/node_modules
- packages/git/node_modules
- packages/java-debug/node_modules
- packages/java/node_modules
- packages/json/node_modules
- packages/keymaps/node_modules
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Breaking changes:

- [core][plugin] support alternative commands in context menus [6069](https://github.com/theia-ide/theia/pull/6069)
- [workspace] switched `workspace.supportMultiRootWorkspace` to enabled by default [#6089](https://github.com/theia-ide/theia/pull/6089)
- Removed the `@theia/debug-nodejs` and `@theia/java-debug` extensions(https://github.com/theia-ide/theia/pull/6113)

## v0.10.0

Expand Down
2 changes: 0 additions & 2 deletions examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@theia/core": "^0.10.0",
"@theia/cpp": "^0.10.0",
"@theia/debug": "^0.10.0",
"@theia/debug-nodejs": "^0.10.0",
"@theia/editor": "^0.10.0",
"@theia/editor-preview": "^0.10.0",
"@theia/editorconfig": "^0.10.0",
Expand All @@ -28,7 +27,6 @@
"@theia/getting-started": "^0.10.0",
"@theia/git": "^0.10.0",
"@theia/java": "^0.10.0",
"@theia/java-debug": "^0.10.0",
"@theia/json": "^0.10.0",
"@theia/keymaps": "^0.10.0",
"@theia/languages": "^0.10.0",
Expand Down
2 changes: 0 additions & 2 deletions examples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@theia/core": "^0.10.0",
"@theia/cpp": "^0.10.0",
"@theia/debug": "^0.10.0",
"@theia/debug-nodejs": "^0.10.0",
"@theia/editor": "^0.10.0",
"@theia/editor-preview": "^0.10.0",
"@theia/editorconfig": "^0.10.0",
Expand All @@ -26,7 +25,6 @@
"@theia/getting-started": "^0.10.0",
"@theia/git": "^0.10.0",
"@theia/java": "^0.10.0",
"@theia/java-debug": "^0.10.0",
"@theia/json": "^0.10.0",
"@theia/keymaps": "^0.10.0",
"@theia/languages": "^0.10.0",
Expand Down
1 change: 0 additions & 1 deletion packages/debug-nodejs/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/debug-nodejs/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions packages/debug-nodejs/compile.tsconfig.json

This file was deleted.

55 changes: 0 additions & 55 deletions packages/debug-nodejs/package.json

This file was deleted.

24 changes: 0 additions & 24 deletions packages/debug-nodejs/src/node/debug-nodejs-backend-module.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/debug-nodejs/src/node/debug-nodejs.spec.ts

This file was deleted.

102 changes: 0 additions & 102 deletions packages/debug-nodejs/src/node/node-debug-adapter-contribution.ts

This file was deleted.

4 changes: 1 addition & 3 deletions packages/debug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ In most cases the default behavior of the `DebugSession` is enough. But it is po
### Server side
At the back-end we start a debug adapter using `DebugAdapterFactory` and then a `DebugAdapterSession` is instantiated which works as a proxy between client and debug adapter. If a default implementation of the debug adapter session does not fit needs, it is possible to provide its own implementation using `DebugAdapterSessionFactory`. If so, it is recommended to extend the default implementation of the `DebugAdapterSession`. Documented model objects are located [here](https://github.com/theia-ide/theia/tree/master/packages/debug/src/node/debug-model.ts)

`DebugSessionState` accumulates debug adapter events and is used to restore debug session on the client side when page is refreshed.
`DebugSessionState` accumulates debug adapter events and is used to restore debug session on the client side when page is refreshed.

## How to contribute a new debugger
`DebugAdapterContribution` is a contribution point for all debug adapters to provide and resolve debug configuration.

Here is an example of [debug adapter contribution for node](https://github.com/theia-ide/theia/tree/master/packages/debug-nodejs/src/node/debug-nodejs.ts)

## References
* [Debug Adapter Protocol](https://github.com/Microsoft/vscode-debugadapter-node/blob/master/protocol/src/debugProtocol.ts)
* [VS Code debug API](https://code.visualstudio.com/docs/extensionAPI/api-debugging)
Expand Down
1 change: 0 additions & 1 deletion packages/java-debug/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/java-debug/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions packages/java-debug/compile.tsconfig.json

This file was deleted.

55 changes: 0 additions & 55 deletions packages/java-debug/package.json

This file was deleted.

Loading

0 comments on commit c405a98

Please sign in to comment.