(I had the strong suspicion this wouldn't be possible and that I'd have to use WebAssembly instead.
(I had the strong suspicion this wouldn't be possible and that I'd have to use WebAssembly instead. I'm just asking here to get confirmation)

--host 127.0.0.1:8787 though it won't work with --remotewasm2.__wbindgen_start() line in the bundled js, but the worker claims it can't find it even though it's a function in the bundled wasm file
--host 127.0.0.1:8787--remotewasm2.__wbindgen_start()function logErrorToSentry(request: Request, env: Env, ctx: ExecutionContext, err: any) {
const sentry = new Toucan({
dsn: env.SENTRY_DSN,
context: ctx,
environment: env.ENVIRONMENT,
request,
});
sentry.captureException(err);
}