@debugids/node getDebugIdForUrl polyfill for Node.js import { getDebugIdForUrl } from "debug-id/node"; const debugId = await getDebugIdForUrl("./path/to/main.js");