With Dynatrace Developer Observability, you can redirect Live Debugger application output to your own IDE environment. Currently Dynatrace supports Visual Studio Code and the Jetbrains suite.
Open the Dynatrace Snapshots panel.
The panel is located at the bottom of the IDE.
Sign in to Dynatrace from the Dynatrace Snapshots panel.
Select the environment you'd like to debug by clicking on the cloud icon in the Dynatrace Snapshots panel header.
The environment picker will open above, displaying all Dynatrace environments where you have Live Debugging permissions. Select an environment from the list.
Configure your debug session by clicking on the pencil icon in the Dynatrace Snapshots panel header.
Only instances with Live Debugging enabled will appear.
Select filters for the instances you'd like to debug and click Set.
Add a Live Debugging breakpoint.
Right click next to a line number to add a Live Debugging breakpoint.
The breakpoint will be applied to instances matching the filters you configured in step 5, within the environment selected in step 4.
View data.
When your breakpoints are triggered data will stream into the Dynatrace Snapshots panel. Click on a snapshot to see local variables, stack trace, process information and tracing data.
Navigation
Session Configuration
All session configuration options can be accessed via the Dynatrace Snapshots panel at the bottom of the IDE. Open the panel and hover on the header to see the configuration options.
Breakpoints
Add a breakpoint by right-clicking on the line of code where you'd like to get live debugging data.
You can interact with your breakpoints directly from the code (right click on the breakpoint icon)
Breakpoint list – can be found on the left pane of the IDE by clicking on the extension's icon in the activity bar. Click on a breakpoint in this list to view it's status and editor.
Breakpoint context menu – right click on a Live Debugging breakpoint to see it's options:
Edit Breakpoint…
Breakpoint Status…
Disable Breakpoint
Remove Breakpoint
Data
All Live Debugging data for the session will appear in the Dynatrace Snapshots panel.
Open the Code Monitoring panel at the bottom of the IDE.
Sign in to Dynatrace.
Select the environment you want to debug by selecting the dropdown in the panel header. The environment picker displays all Dynatrace environments where you have Live Debugging permissions.
Configure your debug session by selecting the Filter Applications panel header.
Only instances with Live Debugging enabled are displayed. Select filters for the instances you want to debug and select Apply.
Add a Live Debugging breakpoint.
Select next to a line number to set a breakpoint, and then choose Live Debugging Breakpoint from the list. The breakpoint will be applied to instances matching the filters configured in step 5, within the environment selected in step 4.
View data.
When your breakpoints are triggered, data is streamed into the Code Monitoring panel. Select a snapshot to view local variables, stack trace, process information, and tracing data.
Navigation
Session Configuration
All session configuration options can be accessed via the header of the Code Monitoring panel at the bottom of the IDE. Open the panel and hover over the header to see the configuration options.
Breakpoints
Add a breakpoint by selecting the line of code where you want to receive live debugging data, then choose Live Debugging Breakpoint.
You can interact with your breakpoints directly from the code. Select the breakpoint icon to open the Breakpoint editor.
Select More in the Breakpoint editor to access advanced editing options and to view all breakpoints in this session.
Data
All Live Debugging data for the session is displayed in the Code Monitoring panel.