how to use the debugger in the service module in the Browser?
I check the option to open in browser but nothing happens.
Hi, Service Module can be debugged in two ways:1. Using any end-user module's screen2. Using API/Timer
If you use the first one, you must set the entry point as the end user module in the debug setup and start the debugger in both modules. It will show you how the debugger controls are working.
The second option does not require the creation of any entry points. Simply use the service center to call your API from Postman. Also Timer can executed from service center.Hope this helps you.
Have you changed your entry module from this module to ui module where the request is initiating?
If you want to debug the service module itself, you can build a rest api with the server action you want to debug.
Make entry module to this module and start debugging.
Now, call the API from postman .
it should work
Hi Aleff,
For debug the server module's actions, you have to select "Entry module" to UI module where request is initiating.
Regards,
Gayatri
Hey @Aleff Correia
If your service module has been consumed in another module which has a UI them you have to set the UI module as entry module.
If it doesn't have any entry module just make a timer, run the timer on "When Published" add the breakpoint. Here you could set entry module as "This Module" Option and Try to run the timer from the service center.
ThanksShlok Agrawal