https://github.com/sheerun/vim-inspect
Debug Node in Vim with Inspector Protocol
https://github.com/sheerun/vim-inspect
debug node vim
Last synced: 11 months ago
JSON representation
Debug Node in Vim with Inspector Protocol
- Host: GitHub
- URL: https://github.com/sheerun/vim-inspect
- Owner: sheerun
- Created: 2020-07-04T21:53:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-04T22:02:34.000Z (almost 6 years ago)
- Last Synced: 2025-04-05T01:32:09.103Z (about 1 year ago)
- Topics: debug, node, vim
- Language: Vim script
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-inspect
This is WORK IN PROGRESS, any help is appreciated!
Implements communication of Vim with `node --inspect` debugger through Chrome DevTools debugging protocol:
https://chromedevtools.github.io/devtools-protocol/v8/
Vim communicates with debugging server through websocket protocol:
https://tools.ietf.org/html/rfc6455
## Status
Connects to server but I'm unable to receive any message. After I manage to get response I need to figure out how to unmask response payload and convert it to string... Any help would be appreciated to create working proof of concept.
## Requirements
Only Vim 8, no python is used.
## Testing
```
:Inspect node test.js
```
## License
MIT