show delve logs

This commit is contained in:
Alexander Zobnin
2020-01-14 13:28:52 +03:00
parent 448031dec7
commit 546ae1893c

View File

@@ -14,5 +14,5 @@ Read more at https://www.kernel.org/doc/Documentation/security/Yama.txt"
fi fi
PLUGIN_PID=`pgrep ${PLUGIN_NAME}` PLUGIN_PID=`pgrep ${PLUGIN_NAME}`
dlv attach ${PLUGIN_PID} --headless --listen 0.0.0.0:${PORT} --api-version 2 dlv attach ${PLUGIN_PID} --headless --listen=:${PORT} --api-version 2 --log
pkill dlv pkill dlv