Once in a while we get reports that the debugger is not working properly. The typical symptoms are:
During a debug session, the IDE contacts the environment where your app is deployed using HTTPS or HTTP if the first option is not available.
During a typical debug session the IDE communicates back and forward several times with the environment. So to keep the debugger fast, the IDE asks the environment to keep an open connection.
Depending on your anti-virus, firewalls, or other network elements you might have in place, it's possible that these elements abruptly close the connection between the IDE and the environment after a while.
And that's when the debugger hangs.
From OutSystems Platform:
You can configure the IDE so that it establishes a new connection for each request made to the environment.
In Edit menu, under Preferences, check the Use One Connection per Request in Debugger option.
Each time the IDE needs to retrieve some information from the environment, a new connection is established. So it's possible that by activating this option, the debugger feels a little bit slower.
There might be other problems affecting your debug session. If this change doesn't work for you, check out this post that explains some other causes for the debugger to be misbehaving.
I know this is an old post, but I wanted to thank you because this also worked for me.
By the way I am using OutSystems Platform:
So this is also valid for this version.