A failing test (testing setting line-1 breakpoints) that is the cause of #729 highlights a potentially breaking change for us in Node 10.16: scripts are now parsed slightly differently. Consider the following code:
module.exports = function foo(n) { return n; }
In Node 10.15 and below, getting the above script via Inspector's Debugger.getScriptSource yields:
(function (exports, require, module, __filename, __dirname) { module.exports = function foo(n) { return n; }
});
In Node 10.16+, it yields the original source:
module.exports = function foo(n) { return n; }
This almost certainly affects line-1 breakpoints.