Javascript debugger breaks only for one second and server disconnects

I have created a JavaScript Debug server and called it 'JS Server', and specified the url as 'http://127.0.0.1:63342/thin/index.html', choice of browser is Chrome.

I have installed the JB extension for chrome to debug the javascript.

PyCharm can connect to it. When I click on the debug next to 'JS Server' it opens the page in chrome.

The page shows a tooltip bar "Jet Brains IDE support is debugging this tab"
The first breakpoint in javascript is hit.
I can see how the browser gets dimmed...and it says 'paused in debugger'

PyCHarm has hit the break point bravely, but before I can do anything everything stops. The dimming of the browser fades away and the server disconnects.

What could be the reason please?
Many Thanks,
Houman

Please sign in to leave a comment.