To access the latest features keep your code editor plug-in up to date.
The AppMap tool window shows all AppMap Diagrams in your open projects. You can open it from the top level menu (View -> Tools Windows -> AppMaps
), with an AppMap action or by clicking on its tab in the UI.
AppMap tool window actions:
Installing the AppMap JetBrains plugin adds custom buttons and menu options to the JetBrains editor interface. These can be used to run your Java application code with AppMap automatically configured, saving you from manually changing your Maven or Gradle settings. This is the recommended approach for all Java users using JetBrains editors like IntelliJ.
For example, if you right click on your main class file you’ll see a new menu item under “More Run/Debug” to Start with AppMap
. Selecting this option will start your application with the AppMap libraries enabled. From here, you can interact with your application to generate request recordings or use remote recording
You can also use this custom button to run a specific test or group of tests with the Start with AppMap
option. Similar to above, right click on a single test or a group of tests and use the custom button under “More Run/Debug” to Start with AppMap
.
Use the “Start with AppMap” button to start your run configurations with AppMap enabled.
For JetBrains versions 2024.1 and earlier the “Start with AppMap” button is in the main toolbar.
For JetBrains versions 2024.2 and later the “Start with AppMap” button is located in a dropdown menu, accessible by clicking on the vertical dots.
@Test
annotation will produce an AppMap.To disable recording for a particular JUnit test (for example, a performance
test), list the class or methods under exclude
in the project’s appmap.yml
configuration file.
When you run a Java application with the AppMap agent, remote recording will be enabled. (Note: For this to work, your application must include a web server).
You can make a remote recording from within the JetBrains IDE.
For more details about remote recording, see:
To open the list of AppMap plugin actions, press CTRL+SHIFT+A
on Windows and Linux, or COMMAND+SHIFT+A
on macOS, and type AppMap
. You can also find these actions at Tools > AppMap
of the main menu.
The command names should be self-explanatory.
After recording AppMap Data for your project, select “Generate OpenAPI” from the AppMap instructions quick start in the lower right hand column.
Selecting the “Generate OpenAPI Definitions” button will open a new file with your OpenAPI definition document to save locally, share with your team or use with 3rd party API management tools like Postman
You can enable debug logging of the AppMap plugin in your JetBrains code editor by first opening Help
> Diagnostic Tools
> Debug Log Settings
.
In the Custom Debug Log Configuration
enter appland
to enable DEBUG level logging for the AppMap plugin.
Next, open Help
> Show Log...
will open the IDE log file.
AppMap technical support may ask you for your IDE logs to diagnose issues with the plugin’s behavior. If so, go to the Help
menu in your editor and select Collect Logs and Diagnostic Data
. This will create a .zip
file on your local machine and open a file explorer window to it. You can then safely send that file to AppMap within your technical support ticket conversation.
https://github.com/getappmap/appmap-intellij-plugin