Press F12 to open your browsers developer panel then click the Console tab. Now refresh the page any see if there's any fatal (red) errors present. Beyond that no there is no debugging mode for that JS and never will be. It shouldn't be closing unless a click event is making it close or something is breaking the JS. If still not working please PM backend super administrator login credentials and provide frontend URL where issue is present and will take a look.