调试非托管Neo4j扩展 [英] debugging an unmanaged Neo4j extension

查看:136
本文介绍了调试非托管Neo4j扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用Graphaware框架开发Neo4j服务器的非托管扩展。一切都很好,到目前为止。即使是单元测试正在工作。但是我想从Intellij中实际调试运行Neo4j服务器的扩展。

I just started developing an unmanaged extension for Neo4j server using the Graphaware framework. Everything is fine so far. Even unit tests are working. But I would like to actually debug the extension running the Neo4j server from within Intellij.

任何人可以给我一个提示如何做到这一点?

Can anybody give me a hint on how to do that?

非常感谢提前,
Oliver

Many thanks in advance, Oliver

PS:此扩展名是通过休息界面从单独的Web服务器提供的托管实际的Web应用程序。

PS: This extension is being called via rest interface from a separate web server providing hosting the actual web application.

推荐答案

对于neo4j 3.0,您必须将此行修改为 conf / neo4j -wrapper.conf

For neo4j 3.0 you have to amend this line to conf/neo4j-wrapper.conf.

dbms.jvm.additional=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

这篇关于调试非托管Neo4j扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆