Skip to content

Commit

Permalink
doc: add debugger feature in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Apr 6, 2023
1 parent 03879df commit f4e19e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The VSCode api is composed of:
- Some features that are supported by Monaco (Language feature registrations...) which are just forwarded to it (with some transformations)
- Some features that are not supported by Monaco, and in such case:
- If it's an important feature: we let the user implement it as they wish.
- If it's some advanced features that don't make a lot of sense on Monaco (debug, tests...), it just throws an error when you try to use it.
- If it's some advanced features that don't make a lot of sense on Monaco (scm, tests...), it just throws an error when you try to use it.

To implement by hands the optional features (file system, workspace folders, file...), you can use the `Services` namespace from `vscode/services`:

Expand Down Expand Up @@ -161,6 +161,7 @@ It includes:
- Keybinding service, with user keybindings editor
- Token classification
- Snippets (but not working in monaco 0.34)
- Debuggers

It also uses the `getJsonSchemas` function to register them on the monaco json worker and have autocomplete/hover on settings and keybindings.

Expand All @@ -174,6 +175,11 @@ npm start
npm run start:debug
```

For the debug feature, also run:
```bash
npm run start:debugServer
```

### History

This project was mainly created to make the implementation of [monaco-languageclient](https://github.com/TypeFox/monaco-languageclient) more robust and maintainable.
Expand Down

0 comments on commit f4e19e5

Please sign in to comment.