Troubleshooting DevTools Traces Not Showing Up in Effect Layered Application

Is there anything specific to do when trying to use the dev tools when the entire application is a Layer, started this way (HttpServer from @effect/platform-node) ? I'm unable to get the traces to show up in the extension, though the client does connect to the server. I'm probably doing something incorrect.

const EnvLive = Layer.mergeAll(
  HttpLive.pipe(
    Layer.provide(SomeUseCase.Live),
    Layer.provide(AnotherUseCase.Live)
  ),
  MigratorLive,
  DevToolsLive
)

Layer.launch(EnvLive).pipe(
  NodeRuntime.runMain
)
Was this page helpful?