Debugging 500 Internal Server Error with Effect HTTP API Configuration

how to debug effect http ?
export const Apis = HttpApi.make("Apis")
  .add(
    HttpApiGroup.make("default").add(
      HttpApiEndpoint.get("home")`/`.addSuccess(Schema.String),
    ),
  )
  .add(
    HttpApiGroup.make("users")
      .add(HttpApiEndpoint.get("list")`/`.addSuccess(Schema.Array(User))) // <------ intentionally  use duplicated path
      .add(HttpApiEndpoint.get("by_id")`/user/${idParam}`.addSuccess(User)),
  );


this leads to "500 Internal Server Error" when called, but it does not show any error,
no typescript compile error, no runtime error, just 500 on response.
Was this page helpful?