2020-02-14 15:49:12 +01:00
|
|
|
// Module included in the following assemblies:
|
|
|
|
|
//
|
2020-10-21 13:01:57 +02:00
|
|
|
// * cli_reference/creating_and_deploying_applications_with_odo/debugging-applications-in-odo.adoc
|
2020-02-14 15:49:12 +01:00
|
|
|
|
|
|
|
|
[id="debugging-an-application_{context}"]
|
|
|
|
|
|
|
|
|
|
= Debugging an application
|
|
|
|
|
|
2020-08-05 13:52:43 -04:00
|
|
|
You can debug your application on in `odo` with the `odo debug` command.
|
2020-02-14 15:49:12 +01:00
|
|
|
|
|
|
|
|
.Procedure
|
|
|
|
|
|
|
|
|
|
. After an application is deployed, start the port forwarding for your component to debug the application:
|
|
|
|
|
+
|
2020-08-05 13:52:43 -04:00
|
|
|
[source,terminal]
|
2020-02-14 15:49:12 +01:00
|
|
|
----
|
|
|
|
|
$ odo debug port-forward
|
|
|
|
|
----
|
|
|
|
|
|
2020-08-05 13:52:43 -04:00
|
|
|
. Attach the debugger bundled in your IDE to the component. Instructions vary depending on your IDE.
|