UNPKG

strong-debugger

Version:

DevTools Remote Debugging Protocol provider for Node.js and io.js

18 lines (16 loc) 451 B
'use strict'; var l = require('./lab'); var m = require('./lab/matchers'); l.runUsing(l.debugScript(l.fixture('require-http-server.js')), function(client) { return client.verifyScenario(function(s) { s.enableDebugger(); s.sendInput('load\n'); s.expectEvent('Debugger.scriptParsed', { scriptId: m.isString(), url: /^file:.*test[\\\/]fixtures[\\\/]http-server.js$/, startLine: 0, startColumn: 0, }); }); });