Effect CommunityEC
Effect Community•15mo ago•
13 replies
Sly

Troubleshooting DevTools Connection Issues in Effect Typescript Library

What's the best way to understand issues with the dev tools? The server is running in vscode, the application is started, but I'm never seeing any clients.

I'm loading in dev tools and otel
// ...
        Layer.provide(DevTools.layer()),
        Layer.provide(
            EffectOpenTelemetryTracer.layerGlobal.pipe(
                Layer.provide(EffectOpenTelemetryResource.layer({ serviceName })),
            ),
        ),
Layer.provide(
            Logger.replace(
                Logger.defaultLogger,
                Logger.withSpanAnnotations(customLogger),
            ),
        ),
//...


There's no visible error, but also no clients connecting. Now I'm a bit lost on how to start understanding where the issue might be. The custom logger is working fine, otel is apparently also working fine, but the DevTools are silent for me 😅
Was this page helpful?