From 6dea28f482afcdab1891d7441ba95579b3b38d97 Mon Sep 17 00:00:00 2001 From: Sven Nebel Date: Wed, 7 Sep 2022 21:24:02 +0100 Subject: [PATCH] Improve DEVELOPMENT.md guidelines - Add debugging section for IntelliJ Signed-off-by: Sven Nebel --- DEVELOPMENT.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index f0a71389d..5e8a8146a 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -164,3 +164,18 @@ make env Start debugging by either clicking `Run` > `Start Debugging` or using the relevant shortcut. + +### Debugging controller with IntelliJ + +Create the environment file containing details on how to load +`libgit2` dependencies: +```bash +make env +``` + +Print the file removing the leading and trailing quotes (It assumes the variables values does not contain quotes themselves) +```bash +cat build/.env | tr -d '"' +``` + +Copy the output in your clipboard then click the green arrow of the function `Modify Run configuration` > `Edit Environment Variables` > `Paste`