In issue 106252002 setRecordingProfile was removed from DevTools front ends as an interface. According to an email exchange I had, it's been replaced by '... Profile.consoleProfileStarted/consoleProfileFinished events to signal front-end that application initiated profile started/finished...'. I stumbled across this while trying to wrap my head around how node-webkit-agent works.