mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
doc: how to connect to web-worker repl
This commit is contained in:
@@ -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 <id-num>})` to connect to a web-worker context.
|
||||
And we can find the `<id-num>` in http://localhost:9630/runtimes
|
||||
|
||||
##### VSCode
|
||||
;; TODO
|
||||
|
||||
|
||||
### Production Build
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user