I have been experiencing issues with running debugger. I always get error and never ever does the debugger load the browser with the home page. My only solution is to hit the url again with the home page. But this destroys the connection between the client browser and the debugger in Service Studio.
It gives me 3 errors1. Choices is not defined2. OutSystems is not defined3. Error processing your request (this is most of the time)
My applications are mostly using Internal Authorization. So every time I open a URL, if sessions is expired, it first goes to web sso, checks my Company's ID and then logs me in. I understand if debugger does not recognize this. But when session is not expired - that means SSO does not ask for authorization again for 15-20 mins - even then debugger gives me errors.
My headache is highest when I'm debugging a consumer module especially when it is 2 hierarchies lower.
I use VPN when I'm working from home, as sometimes I have to run APIs when debugging and APIs do not produce results when i'm not connected to VPN.
Regards,
Aman Devrath
Hi Aman,
The trick with using the debugger for me is knowing from where you are accessing the component.
Say the components are being used in "Module A"
You want to debug a SERVER ACTION that is being used on a screen in "Module A", the entry module should be set to be coming from "Module A". The reason behind this is because server action creates a tight dependency between the modules.
BUT If you are using a SERVICE ACTION, then entry module should be set to "(this module)" as service action is loosely coupled.
If your component is placed in a core widget module, then the entry should be from "Module A"
If you happen to access from a "CW" module and you have set to "Module A" but it redirects to the "CW" still, try changing the entry module to "(this module)" first, stop the debugger and reset the entry to "Module A", this might does the trick.
If you need further assistance, do not hesitate to send me a message. I will be happy to have a session for a demo.
Hope this helps! & if it does, do mark this as a solution.
Thank you,
Zureen