To see the error, run the following:
clojure -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.238"}org.clojure/core.async {:mvn/version "0.4.474"}}}' -m cljs.main -e "(require '[cljs.core.async :refer [chan go]]) (go (js/console.log \"Foo\") (js-debugger) (js/console.log \"Bar\"))"
which will generate a Js error like "SyntaxError: expected expression, got keyword 'debugger'"
The compiled Js output will contain something like:
{code:javascript}var inst_2199 = debugger;
but {{debugger}} is a statement, not an expression that can be assigned.