Gilbert Gou
Gilbert Gou

Reputation: 23

Is there a way to debug the java code in karate DSL

I find it's very hard to debug when using karate DSL. The linked picture shows the html report of the scenario.

1

Without debugging to java code, there's no useful info about why path statement was wrong. Is there a way to debug the java code in karate DSL?

Upvotes: 2

Views: 484

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58088

Yes there is an IntelliJ plugin that does this: https://plugins.jetbrains.com/plugin/19232-karate

That said it sounds like you have some dependency conflicts. If you can replicate the issue in a quickstart project, please file an issue: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue

Upvotes: 1

Related Questions