You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an argument to the java application startup command -javaagent:<path_to_agent_jar>=file:<path_to_settings_file>. Example of an application launch command java -jar application.jar -javaagent:/opt/kover-jvm-agent-0.8.3.jar=file:/tmp/agent.args.
Here is shown a wrong example. -javaagent parameter has to be stated before -jar.
So the example should possibly look like this: java -javaagent:/opt/kover-jvm-agent-0.8.3.jar=file:/tmp/agent.args -jar application.jar
In the variation presented in the guide, the agent does not connect and does not warn the user about it
The text was updated successfully, but these errors were encountered:
I was reproducing the following guide:
https://github.com/Kotlin/kotlinx-kover/blob/main/kover-jvm-agent/docs/index.md
Here is shown a wrong example. -javaagent parameter has to be stated before -jar.
So the example should possibly look like this:
java -javaagent:/opt/kover-jvm-agent-0.8.3.jar=file:/tmp/agent.args -jar application.jar
In the variation presented in the guide, the agent does not connect and does not warn the user about it
The text was updated successfully, but these errors were encountered: