summaryrefslogtreecommitdiff
path: root/docs/debugging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/debugging.rst')
-rw-r--r--docs/debugging.rst17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/debugging.rst b/docs/debugging.rst
index 6150ff60..fec73257 100644
--- a/docs/debugging.rst
+++ b/docs/debugging.rst
@@ -8,6 +8,12 @@ There are two flags available to aid in debugging configuration scripts.
Since configuration loading issues will manifest during boot, the flags are
passed as kernel boot parameters.
+ISO image build
+===============
+
+When having trouble compiling your own ISO image or debugging Jenkins issues
+you can follow the steps at :ref:`iso_build_issues`.
+
System Startup
==============
@@ -77,6 +83,15 @@ will have the same effect as ``touch /tmp/vyos.ifconfig.debug``.
calling ``sudo systemctl stop vyos-configd`` or make this reboot-safe by
calling ``sudo systemctl disable vyos-configd``.
+FRR
+---
+
+Recent versions use the ``vyos.frr`` framework. The Python class is located
+inside our ``vyos-1x:python/vyos/frr.py``. It comes with an embedded debugging/
+(print style) debugger as vyos.ifconfig does.
+
+To enable debugging just run: ``$ touch /tmp/vyos.frr.debug``
+
Debugging Python Code with PDB
------------------------------
@@ -188,4 +203,4 @@ the execution order of the scripts.
.. _bootchart.conf: https://github.com/vyos/vyos-build/blob/current/data/live-build-config/includes.chroot/etc/systemd/bootchart.conf
.. include:: /_include/common-references.txt
-.. start_vyoslinter \ No newline at end of file
+.. start_vyoslinter