# How can I debug a call to an auto-generated endpoint for a new custom entity?

**URL:** <https://forums.broadleafcommerce.com/t/how-can-i-debug-a-call-to-an-auto-generated-endpoint-for-a-new-custom-entity/97>\
**Category:** Shared Concepts\
**Created:** [October 22, 2025, 6:47pm UTC](https://forums.broadleafcommerce.com/t/how-can-i-debug-a-call-to-an-auto-generated-endpoint-for-a-new-custom-entity/97 "2025-10-22T18:47:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![broadleaf-devops](https://yyz1.discourse-cdn.com/flex011/user_avatar/forums.broadleafcommerce.com/broadleaf-devops/32/20_2.png) [@broadleaf-devops](https://forums.broadleafcommerce.com/u/broadleaf-devops)\
**Post date:** [October 22, 2025, 6:47pm UTC](https://forums.broadleafcommerce.com/t/how-can-i-debug-a-call-to-an-auto-generated-endpoint-for-a-new-custom-entity/97/1 "2025-10-22T18:47:55Z")

</div>

[Broadleaf’s Extensibility Concepts](https://github.com/BroadleafCommerce/MicroservicesConcepts) illustrates how you can easily create a new custom entity where Broadleaf will auto-generate several components for you - such as an endpoint, projection, repository, etc…

## Question - How to Debug Auto-Generated Endpoint?

Broadleaf dynamically creates “Interceptor” classes via the following component: `com.broadleafcommerce.data.tracking.core.TrackableFlowComponentFactory`

You can put a breakpoint in any of the Interceptor Classes defined in this component, for example: `TrackableFlowComponentFactory.CreateInterceptor#delegate`

With that said, these are rather uninteresting classes and mainly function as bridge code into `BaseRsqlCrudEntityService` and setting a breakpoint here may also prove to be useful for debugging purposes.
