Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

.YouTube Video

Overview

This screencast will demonstrate how to debug ONOS and applications using the IntelliJ IDEA work-bench.

...

Similarly, for production ONOS deployments installed from the tar.gz file, we need to add the debug parameter when starting ONOS by bin/onos-service server debug.

When debugging ONOS running the official docker container from DockerHub, run the container exposing the port 5005 and setting the following environment variable JAVA_DEBUG_PORT="0.0.0.0:5005".
E.g.,:

Code Block
docker run -t -d -p 5005:5005 --env JAVA_DEBUG_PORT="0.0.0.0:5005" onosproject/onos debug

Installations deployed via the onos-install utility already include the debug option by default.

...