O'Reilly logo

Neo4j Cookbook by Ankur Goel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Neo4j's remote debugging setup

In the production setup, it is always advisable to do remote debugging, and the Neo4j server provides the mechanism for this.

In this recipe, you will learn how to set up Neo4j for remote debugging and attach it to an IDE from a remote machine.

Getting ready

The following steps will get you started with this recipe:

  1. We have assumed that Neo4j is up and running. If it is not, use the appropriate recipe to deploy and run Neo4j.
  2. Install the Java IDE of your choice. In this recipe, we will demonstrate how to use IntelliJ.

How to do it...

  1. Add the following lines to your conf/neo4j-wrapper.properties file:
    # Java Additional Parameters wrapper.java.additional.1=-Dorg.neo4j.server.properties=conf/neo4j-server.properties wrapper.java.additional.2=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required