【问题标题】:How to debug JHipster in Eclipse?如何在 Eclipse 中调试 JHipster?
【发布时间】:2022-12-12 08:15:06
【问题描述】:

我是使用 JHipster 的新手。我在 JHipster 5.x(springboot 和 angular)上的 Eclipse IDE 中调试时遇到问题。我使用 maven 构建项目

所以我正在寻找一个使用 Eclipse 进行调试的教程。

【问题讨论】:

  • 没有什么特定于 JHipster,至少对于调试 java 后端而言,它与任何 Spring Boot 应用程序相同。至于角度部分,我在 Eclipse 中不知道,但有很多使用 VS Code 和 Chrome 开发工具的示例。

标签: spring-boot eclipse maven debugging jhipster


【解决方案1】:

基本上你可以启用 spring-boot JVM 通过传递给 maven 以调试模式运行:

-Dspring-boot.run.jvmArguments="-Xdebug -DskipTests -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"

专家

然后运行 ​​Eclipse Remote Java Application Debugging with Attaching to this process。

可以在这里找到一个很好的教程:https://jhipster.xenovation.com/debugging-jhipster-with-eclipse/

【讨论】:

    猜你喜欢
    • 2011-07-20
    • 2011-05-15
    • 2011-08-20
    • 1970-01-01
    • 2014-04-27
    • 2015-11-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多