From 4fd285743dbd03c48e3b1ddc4f04c18943a5c244 Mon Sep 17 00:00:00 2001 From: rcmerci Date: Wed, 10 Jan 2024 17:28:34 +0800 Subject: [PATCH] doc: how to connect to web-worker repl --- docs/develop-logseq.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/develop-logseq.md b/docs/develop-logseq.md index f03a2d4cef..b5ac100c51 100644 --- a/docs/develop-logseq.md +++ b/docs/develop-logseq.md @@ -39,6 +39,16 @@ Open a dev environment (Browser dev app on ``localhost:3000`` or Desktop dev app ``cmd + shift + p`` -> ``Calva: Load/Evaluate Current File and its Requires/Dependencies`` +#### Connect to the web-worker context +##### Emacs + Cider +When we connected to a CLJ nrepl (NOTE: if you already in a CLJS nrepl, use `:cljs/quit` to back to CLJ nrepl), +then we can use `(shadow/nrepl-select :app {:runtime-id })` to connect to a web-worker context. +And we can find the `` in http://localhost:9630/runtimes + +##### VSCode +;; TODO + + ### Production Build ```bash