Skip to content

Commit

Permalink
Add Delve debgger to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval committed Nov 26, 2024
1 parent 2a07c9c commit b43500b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/source/developer_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ Example:
echo -e '{"command": "work", "subcommand": "submit", "node": "execution", "worktype": "cat", }\n"Hi"' | socat - UNIX-CONNECT:/tmp/control.sock
^^^^^^^^^^^^^^
Delve Debugger
^^^^^^^^^^^^^^
Delve debugger is useful for debugging Go in general but especially good at debugging goroutines.
When running Devle with Receptor we need to pass in a Receptor config file.

Run Delve with Receptor:

.. code-block:: bash
dlv debug cmd/receptor-cl/receptor.go -- --config --config-v2 test-configs/kube-node.yml
-------
Linters
-------
Expand Down

0 comments on commit b43500b

Please sign in to comment.