Debug Locally - Events

Hi Team,

Can any one help me to do the debugging locally …

I have published events through persist and publish. The even is listen from Saga …how to do the local debugging.

Thanks,
Kannan

Hi Kannan,

Local debugging is performed the same way you’d debug your code, by setting breakpoints. The handlers will be involved if the messages are found in the endpoints’ queue.

1 Like

You can see a sample that should get you started here: https://docs.particular.net/samples/unit-testing/

Can you please let me know how to raise a events and how Saga is listening … How to achieve this locally ?

do we have any documentation there ?

The documentation is on the link I provided. If you need more help, you can also read this article: https://docs.particular.net/nservicebus/testing/