Update README.md

Note on prompt buffers
This commit is contained in:
Ben Jackson 2018-12-19 22:08:22 +00:00 committed by GitHub
commit 9f8fddd1cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,8 +108,11 @@ breakpoint.
## Watches
* Add watches to the variables window with
`:call vimspector#AddWatch( '<expr>' )`
The watches window is a prompt buffer. Enter insert mode to add a
new watch expression.
* Add watches to the variables window by entering insert mode and
typing the expression. Commit with `<CR>`.
* Expand result with `<CR>`.
* Delete with `<DEL>`.
@ -124,6 +127,17 @@ breakpoint.
* The debugee prints to the stdout channel.
* Other channels may be useful for debugging.
### Console
The console window is a prompt buffer and can be used as an interactive
CLI for the debug adapter. Support for this varies amongt adapters.
* Enter insert mode to enter a command to evaluate
* Commit the request with `<CR>`
* The request and subsequent result are printed.
NOTE: See also [Watches][#watches] above.
# Supported Languages
Current tested with the following debug adapters.
@ -316,6 +330,9 @@ Requires:
- Vim 8.1 compiled with python 3 support.
Note the plugin uses a lot of very new Vim features (like prompt buffers), so
I would strongly recommend a very new build of Vim.
# FAQ
1. Q: Does it work? A: Yeah, sort of. It's _incredibly_ buggy and unpolished.