You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code above expects the DevTools server to be available at `localhost:34437`. If you are not running the DevTools client (e. g. backend) on the same machine, or if it's not available at localhost, you'll have to manully specify the websocket server url like so:
30
+
The code above expects the `DevTools` server to be available at `localhost:34437`. If you are not running the `DevTools` client (e.g., backend) on the same machine, or if it's not available at `localhost`, you'll have to manually specify the websocket server URL like so:
If you are using `@effect/opentelemetry` in your project, then it is important that you provide the `DevTools` layer **before** your tracing layers, so the tracer is patched correctly.
36
37
37
-
Beware, that Effect DevTools extension does not behave like typical debugger UI, which connects to debugger port of target process. It's the other way around here. One of the reasons for that is to enable tracing of web applications, which are not able to expose ports, as servers do.
38
+
Beware that the Effect DevTools extension does not behave like a typical debugger UI, which connects to the debugger port of the target process. It's the other way around here. One of the reasons for that is to enable tracing of web applications, which are not able to expose ports, as servers do.
38
39
39
40
### Docker
40
41
41
-
In case you're using docker for local development and want to connect from your containerized application to DevTools server in VS Code, you'll have to do 2 things.
42
+
In case you're using Docker for local development and want to connect from your containerized application to the DevTools server in VS Code, you'll have to do 2 things.
42
43
43
-
1. You'll have to make your host machine addressable from within the container, by adding extra host.
44
+
1. You'll have to make your host machine addressable from within the container by adding an extra host.
44
45
45
46
```yaml
46
47
services:
@@ -49,14 +50,14 @@ services:
49
50
- host.docker.internal:host-gateway
50
51
```
51
52
52
-
2. You'll have to specify connection URL in your application to be
53
+
2. You'll have to specify the connection URL in your application to be
0 commit comments