start a chrome. open devtools (ctrl + shift + i) open devtools of devtools (ctrl + shift + i again) Source -> add snippet, add core.js + demo.js Console -> type demo() refs https://github.com/ChromeDevTools/devtools-frontend https://chromedevtools.github.io/devtools-protocol/