| copyright |
|
||
|---|---|---|---|
| lastupdated | 2017-05-18 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #local-debug}
Local application debugging instructions are provided for the following languages:
Note: Swift application debugging is not supported.
{: #java}
Steps to enable debug for a Java application:
-
From your application project's root directory run the following command:
bx dev debug -
Connecting the debugger to your application:
- Eclipse
- Import the Existing maven project into Eclipse.
- Create a Java remote application
debug configuration.
- Enter the IP address or
localhost:<port> - Enter
7777for port number. - Specify the name of the java project that you imported.
- Enter the IP address or
- Set a breakpoint in the IDE.
- Run the debug configuration.
- Access the endpoint with a browser to recreate the issue.
Note: The default port is 9080 for the Java basic Microservices endpoint.
- IntelliJ
- VSCode
- JDK command line:
jdb -attach <host:port>
- Eclipse
{: #node}
Steps to enable debug for a Node.js application: