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 5, 2019
1 parent 78e0b20 commit d651ac0
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 1,084 deletions.
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 d651ac0

Please sign in to comment.