vim-chrome-devtools
vim-chrome-devtools copied to clipboard
Neovim integration with Chrome DevTools
vim-chrome-devtools
This plugin uses chrome-remote-interface to connect to your Google Chrome instance.

More screencasts can be seen here.
Requirements
- 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.
Installation
Using vim-plug
Plug 'carlosrocha/vim-chrome-devtools', { 'do': 'bash install.sh' }
After installing or updating you need to run :UpdateRemotePlugins and restart Neovim.
Variables
g:ChromeDevTools_host: Chrome host,localhostby default.g:ChromeDevTools_port: Chrome port,9222by default.
Commands
ChromeDevToolsConnect
Functions
ChromeDevTools_Page_reload()ChromeDevTools_Runtime_evaluate()ChromeDevTools_CSS_createStyleSheet()