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

Create a (json) schema for the VS Code Debug Protocol #51

Closed
weinand opened this issue Aug 12, 2016 · 6 comments
Closed

Create a (json) schema for the VS Code Debug Protocol #51

weinand opened this issue Aug 12, 2016 · 6 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@weinand
Copy link
Contributor

weinand commented Aug 12, 2016

Instead of keeping the specification of the VS Code Debug Protocol as a TypeScript d.ts file we should introduce a language neutral json schema for it.

An example for this is the Chrome Debugger Protocol schema:
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json (they are not using a json schema but their own invention).

Ideally we could generate client and server libraries for different implementation languages for this.
So the debugProtocol.d.ts could be the result of this.

For a similar discussion about the Language Protocol see: microsoft/language-server-protocol#25

@weinand weinand added feature-request Request for new features or functionality debug labels Aug 12, 2016
@weinand weinand self-assigned this Aug 12, 2016
@weinand weinand added this to the August 2016 milestone Aug 12, 2016
@weinand weinand changed the title Create a json schema for the VS Code Debug Protocol Create a (json) schema for the VS Code Debug Protocol Aug 12, 2016
@roblourens
Copy link
Member

Relevant projects - https://github.com/nojvek/chrome-remote-debug-protocol translates Chrome's protocol.json to a .d.ts
https://github.com/nojvek/noice-json-rpc - Proxy-based json rpc helper

@weinand weinand modified the milestones: September 2016, August 2016 Aug 29, 2016
@DavidKarlas
Copy link
Member

Hi Andre,

I'm wondering when do you plan to publish .json file?

Regards,
David

@weinand
Copy link
Contributor Author

weinand commented Sep 1, 2016

@DavidKarlas this week is our endgame week for the August release.
I couldn’t yet find the time to finish the schema and publish it in the repository.

I’ll try my best to make something available by the end of this week.

@DavidKarlas
Copy link
Member

Ok, Thank you for info.

@weinand
Copy link
Contributor Author

weinand commented Sep 4, 2016

@DavidKarlas the first half of the schema and a generator for TypeScript is now available in this repository.

@weinand
Copy link
Contributor Author

weinand commented Sep 5, 2016

The json schema for the VS Code Debug Protocol is complete and from now on considered the 'truth'. The TypeScript definitions are generated from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants