Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed debug-nodejs and java-debug #6113

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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