Archived: A pure Lua version of this is available on https://github.com/carlosrocha/chrome-remote.nvim
This plugin uses chrome-remote-interface to connect to your Google Chrome instance.
More screencasts can be seen here.
- Google Chrome with open remote debugging port using flag
--remote-debugging-port=9222
. You can find setup instructions here. - Neovim 0.2.2 for Node.js remote plugin support.
- Neovim Node.js provider.
- Node.js
- FZF (optional)
Tested on node 8.5.0 and Google Chrome 61.
Using vim-plug
Plug 'carlosrocha/vim-chrome-devtools', { 'do': 'bash install.sh' }
After installing or updating you need to run :UpdateRemotePlugins
and restart Neovim.
g:ChromeDevTools_host
: Chrome host,localhost
by default.g:ChromeDevTools_port
: Chrome port,9222
by default.
ChromeDevToolsConnect
ChromeDevTools_Page_reload()
ChromeDevTools_Runtime_evaluate()
ChromeDevTools_CSS_createStyleSheet()