Debugging using Chrome: Websocket connection failure

Hi I'm using Windows 10, Chrome, VSCode and Neo4j Desktop 1.2.4.

I am trying to debug a web app I'm developing in VSCode using the Debugger for Chrome Extension for VSCode.

I am able to start the debugger ok and navigate to the main.html file of my web app, but when the app runs a Cypher query against the db, a Websocket connection failure results.

Uncaught (in promise) Neo4jError: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket readyState is: 3

at new i (
at a.value (
at a.value (
at return_nodes_and_edges (
at HTMLAnchorElement.onclick (

This does not occur when I am not debugging my web app, ie when it runs normally.

Do I need to modify my VSCode debug config file, and if so, how?

Any help greatly appreciated.

Kind regards


Did you find a solution to this? I'm having the same issue when attempting to set up a https connection that uses a self certified certificate. My http connection works fine, but there seems to be something wrong with the SSL...