On Dev Tools, how can I switch from Console to Diract? Or, in other words, how can I execute step 5 of the Quick Start Guide?
- Dominant language
- Clojure
- Stars
- 776
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to run Dirac. After some problems (see [here](https://github.com/binaryage/dirac/issues/98) and [here](https://stackoverflow.com/questions/73264414/how-to-install-dirac-a-chrome-devtools-fork-for-clojurescript-on-macos-montere)) and some help from people on the web, apparently, the installation was **somewhat** sucessfull.
I thought everything was fine, see the outputs from the terminal below:
```bash
Pedros-MacBook-Air:~ pedro$ dirac
Downloading: org/clojure/clojurescript/maven-metadata.xml from central
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes.uniquify, being replaced by: #'clojure.tools.analyzer.utils/update-vals
Located Chromium executable at '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'.
Detected Chromium version '107.0.5266.0'
Resolved matching Dirac release as '1.7.2'
Downloading Dirac release from 'https://github.com/binaryage/dirac/releases/download/v1.7.2/dirac-1.7.2.zip'
10545478/10545478 100% [==================================================] ETA: 00:00
Matching Dirac release is located at '/Users/pedro/.dirac/silo/v/1.7.2'
Preparing playground environment at '/Users/pedro/.dirac/playground'
Compiling playground project...
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isOpera at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isIE at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isEdge at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isFirefox at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isSafari at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isCoast at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 23 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/repl.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 13 /Users/pedro/.dirac/playground/.compiled/devtools/async.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 17 /Users/pedro/.dirac/playground/.compiled/devtools/formatters.cljs
Starting playground HTTP server on port 9112
Booting Dirac Agent...
Starting nREPL server v0.8.3 on port 36180
Dirac Agent v1.7.2
Connected to nREPL server at nrepl://localhost:36180.
Agent is accepting connections at ws://localhost:36181.
Launching Chromium [with --user-data-dir='/Users/pedro/.dirac/chromium/profiles/default'] ...
objc[8925]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x226c9db50) and /Applications/Google Chrome Canary.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/107.0.5266.0/Libraries/libGLESv2.dylib (0x1067b40d0). One of the two will be used. Which one is undefined.
```
I was following the Quick Start guide [here](https://github.com/binaryage/dirac#quick-start). Unfortunately, I am having problems **on step 5**:
> 5. in DevTools switch to Console => Dirac prompt should enter dirac.playground and let you type in cljs code
How can I switch from Console to Dirac?
I tried the following:

Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.