【问题标题】:How to run thucydides maven project in debug mode如何在调试模式下运行 thucydides maven 项目
【发布时间】:2014-11-19 19:27:03
【问题描述】:

我从 thucydides-jbehave-plugin 原型创建了 Thucydides 项目。

我发现运行故事可以使用 mvn 命令“verify thucydides:aggregate” 但是如果我需要调试一些步骤,在适当的行中添加断点怎么办。 我尝试在 Eclipse Maven 配置中运行“thucydides:aggregate -Dmaven.failsafe.debug verify”,但出现错误“无法在 ... 中安装断点”,因此调试失败,因为类源代码不可读;

用断点调试故事的正确命令或其他方法是什么?

问候

【问题讨论】:

    标签: eclipse maven debugging automation thucydides


    【解决方案1】:

    添加参数 Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=y 并在你的日食中使用远程调试。

    您需要启动您的应用程序,当您看到等待连接的消息时,开始远程调试。

    【讨论】:

      猜你喜欢
      • 2014-12-29
      • 1970-01-01
      • 1970-01-01
      • 2015-11-25
      • 1970-01-01
      • 2020-12-31
      • 2017-04-03
      • 2015-11-06
      • 2023-04-08
      相关资源
      最近更新 更多