Best way to debug signin widget

When I click the “Signin” button of the Okta Signin Widget nothing happens and the button will get the disabled class set on it. This behavior is not consistent at all. If I reload the page a couple of times it then works fine. I attempted adding some breakpoints in the browser but cannot really pin this down to anything in particular.

What is the best way to debug this?

I am using widget version 2.15.0 since it has the afterError event I require for customization.

Any help is appreciated. + Browser Developer Tools