1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/developer-cli-odo-configuring-debugging-parameters.adoc
Yana Hontyk 16ad88e2ee Rename odo.
2020-05-14 19:51:04 +10:00

33 lines
740 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/debugging-applications-in-odo.adoc
[id="configuring-debugging-parameters_{context}"]
= Configuring debugging parameters
You can specify a remote port with `odo config` command and a local port with the `odo debug` command.
.Procedure
* To set a remote port on which the debugging agent should run, run:
+
----
$ odo config set DebugPort 9292
----
+
[NOTE]
====
You must redeploy your component for this value to be reflected on the component.
====
* To set a local port to port forward, run:
+
----
$ odo debug port-forward --local-port 9292
----
+
[NOTE]
====
The local port value does not persist. You must provide it every time you need to change the port.
====