- Version: 9.6.1
- Platform: Windows 64-bit
- Subsystem: inspector
Hi, I try to run debugger for es modules using --inspect-brk flag, but after I attached Chrome Dev Tools I receive this error
internal/loader/ModuleJob.js:31
initWrapper(this.module.instantiate, this.module);
^
Error: linking error, not in local cache
at link (internal/loader/ModuleJob.js:31:9)
at <anonymous>
I create two small files to test debuuger:
import {add} from './calc';
console.log(add(5, 6));
export function add (a, b) {
return a + b;
}
I try to run code with this command node --experimental-modules --inspect-brk index.mjs.
I updated my Chrome to version 64.0.3282.186.
I try this with the same result on Chrome Canary 66.0.3352.0.
I do not have any breakpoints set up but after I attached Dev Tools, code is always break on internal/async_hooks.js:157 and after I resume script execution I receive above error.

Hi, I try to run debugger for es modules using
--inspect-brkflag, but after I attached Chrome Dev Tools I receive this errorI create two small files to test debuuger:
index.mjscalc.mjsI try to run code with this command
node --experimental-modules --inspect-brk index.mjs.I updated my Chrome to version 64.0.3282.186.
I try this with the same result on Chrome Canary 66.0.3352.0.
I do not have any breakpoints set up but after I attached Dev Tools, code is always break on
internal/async_hooks.js:157and after I resume script execution I receive above error.