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: Unit Testing NServiceBus • Testing Samples • Particular Docs

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: Testing NServiceBus • Testing • Particular Docs