trisquel-icecat/icecat/devtools/client/debugger/test/mochitest/examples/doc-sourceURL-breakpoint.html

9 lines
175 B
HTML

<body>
<script>
var script = `function foo() {
console.log('called foo');
}
//# sourceURL=my-foo.js`;
eval(script);
</script>
</body>