Hi,
Is it possible to start a debug session with IntelliJ Yourkit plugin?
In Itellij I can see just an icon to "Run" my application, not to "Debug" my application.
Tahnks in advance
IntelliJ Plugin - Debug
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: IntelliJ Plugin - Debug
The action "Profile" works in "Run" mode.
To debug with profiling:
- Add JVM option -agentpath with necessary parameters to your run configuration. This help topic describes how to compose it: https://www.yourkit.com/docs/java/help/agent.jsp Alternatively, you can generate -agenpath with the help of the standalone EE server integration wizard available on the profiler's Welcome screen. In the wizard, choose the "Generic server" option to explicitly get the needed -agentpath.
- Use "Debug" as you usually do.
- When you've done with profiling, remove -agentpath from the JVM options.
To debug with profiling:
- Add JVM option -agentpath with necessary parameters to your run configuration. This help topic describes how to compose it: https://www.yourkit.com/docs/java/help/agent.jsp Alternatively, you can generate -agenpath with the help of the standalone EE server integration wizard available on the profiler's Welcome screen. In the wizard, choose the "Generic server" option to explicitly get the needed -agentpath.
- Use "Debug" as you usually do.
- When you've done with profiling, remove -agentpath from the JVM options.