Use the emit provided by protocol.js
Replace the devtools directory with a devtools-require module.