manual icon indicating copy to clipboard operation
manual copied to clipboard

Error in the debugging section?

Open xfq opened this issue 3 years ago • 1 comments

https://deno.land/[email protected]/getting_started/debugging_your_code#chrome-devtools

You might notice that DevTools pauses execution on the first line of _constants.ts instead of file_server.ts. This is expected behavior caused by the way ES modules are evaluated in JavaScript (_constants.ts is left-most, bottom-most dependency of file_server.ts so it is evaluated first).

In my system, the DevTools pauses execution on os.ts instead of _constants.ts:

Screen Shot 2022-10-01 at 15 51 20

I'm using Deno 1.26.0 and Chrome 106.

xfq avatar Oct 01 '22 07:10 xfq

Related: https://github.com/denoland/deno/issues/13908

GJZwiers avatar Oct 05 '22 19:10 GJZwiers