Connecting with integrated development environments to identify, debug, and resolve application issues
Integrated development environments (IDEs) boost programmer productivity by providing interconnected components with consistent user interfaces. They serve as a single platform for authoring, modifying, compiling, deploying, and debugging software.
You can connect the BMC Helix platform with an IDE by using the BMC Helix plug-in available for the supported IDEs. By integrating with the BMC Helix environment, your development team can identify, debug, and resolve application issues in production environments in real-time, all within a single interface, without the need to access multiple applications.
As a developer, you can download the BMC Helix IDE plug-in and connect your environment to any of the supported IDEs.
Benefits
By connecting with the BMC Helix environment, developers can achieve the following benefits:
- View and analyze logs directly in your IDE instead of switching to BMC Helix Log Analytics.
- Perform real-time debugging of applications and microservices by using data collected from live production systems
- Search and fetch relative BMC Helix logs data directly from the IDE console
- Automatically fetch in-context data based on relevancy and timestamps
- Display results in the Output panel (VS Code) or the Logs panel (IntelliJ), depending on the IDE.
Supported IDEs
By using the BMC Helix IDE plug-in, you can connect with the following integrated development platforms:
- Visual Studio (VS) Code 1.98.1
- IntelliJ IDEA 2024.3
Before you begin
Before configuring the BMC Helix plug-in, make sure that the following conditions are met:
- You have valid credentials to access and download the BMC Helix IDE plug-in from the BMC Electronic Product Distribution website.
- You download the plug-in on the same server where your IDE is installed and running.
- You have valid permissions to install and configure plug-ins in your BMC Helix environment.
- You have the tenant URL, access key, and secret key required to connect with the BMC Helix environment.
For more information about generating access key and secret key for a tenant, see Setting up access keys for programmatic access
To download the plug-in
- Log in to the BMC Electronic Product Distribution (URL to be changed based on the actual EPD link) site using your support ID and password.
You might also be prompted to complete the Export Compliance Form. If you are accessing this site for the first time, create a new EPD profile to specify the languages and platforms you want to download. For assistance with EPD, see EPD site help. - Download the BMC Helix plug-in zip file for your chosen IDE:
- Visual Studio Code: bmc-helix-extension-search.vsix
- IntelliJ IDEA: BMC Helix Plugin-1.0-SNAPSHOT
- Continue to the next step to install and configure the plug-in.
To install the plug-in
To install the plug-in as an extension in Visual Studio Code:
- Open VS Code and navigate to Extensions.
- Click … and select Install from VSIX.
- Navigate to the location where bmc-helix-extension-search.vsix is available and click Install.
The extension is installed successfully.
To install the plugin in IntelliJ IDEA:
- Open IntelliJ IDEA and navigate to File > Settings > Plugins.
- Click Install Plugins from Disk.
- Navigate to the location where BMC Helix AIOps Plugin-1.0-SNAPSHOT is available and click Apply.
The plug-in is installed successfully.
To configure the plug-in
To configure the plug-in as an extension in Visual Studio Code:
- Open VS Code and navigate to File > Preferences > Settings > Users > BMC Helix Extension Settings and provide the following details:
Field Description Base URL Specify your BMC Helix tenant URL. Access Key Specify the access key generated for your BMC Helix tenant.
Secret Key Specify the secret key generated for your BMC Helix tenant. - To refine the search criteria for retrieving logs and events, configure additional properties for the project:
- Open the command prompt and navigate to the service that you want to investigate in VS Code.
- Set the CRITERIA environment variable and specify the fields for retrieving logs.
For example, to retrieve logs for a specific host, specify the log_source_host parameter, with a valid value.
- Set the CRITERIA environment variable and specify the fields for retrieving events.

To configure the plug-in in IntelliJ IDEA:
- Open IntelliJ IDEA and navigate to File > Settings > BMC Helix Plugin Settings and provide the following details:
Field Description Base URL Specify your BMC Helix tenant URL. Access Key Specify the access key generated for your BMC Helix tenant.
Secret Key Specify the secret key generated for your BMC Helix tenant. - To refine the search criteria, configure additional properties for the project:
- Open your project in the IDE and create a config.properties file.
- Specify the log fields in a key-value pair.
Logs are retrieved based on the parameters defined in the config.properties file.
For example, to retrieve logs for a specific host, specify the log_source_host parameter, with a valid value in the file. - Specify alert parameters in a key-value pair.
Events are retrieved based on the parameters defined in the config.properties file.
Note that you can only specify log-based events in a comma-separated list. These parameters are displayed when you search for events in the project later.
To search and view logs, events, and traces for a service
Perform the following steps to view in-context log data for the microservice or the application:
- Log in to your IDE and navigate to the application code.
For example, you might learn that there’s a problem with the Apex online service. You want to debug and identify the source and the exact root cause of the problem by investigating the service. - To view all logs related to the host, select the host name from the code, and from the context menu select BMC Helix > Logs.
Logs are displayed in the console window, and the filter criteria are shown on the top.
The following figure shows an example of retrieving logs for a service in IntelliJ IDEA environment:
- To view logs related to an exception, select the string, right-click, and select BMC Helix > Logs.
Logs are displayed in the console window, and the filter criteria are shown on the top.
- (Optional) Right-click anywhere in the IDE console and in the Search Logs dialog box, type the parameter.
Logs that match the search string are displayed in the console window. - To retrieve events, from the context menu, select BMC Helix > Events.
- From the dialog box, select All Alerts or any of the configured parameters and click OK.
Events that match the search criteria are displayed in the console window.