From 7bcb9ace88db799d96df99ed5dfe9d2a45232bf4 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Fri, 26 Jul 2019 20:32:29 +0200 Subject: [PATCH] Documentation: mention DevToolsSecurity in documentation (macOS) (#1638) --- Documentation/installation/osx/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/installation/osx/install.md b/Documentation/installation/osx/install.md index 4b01b16c..9b1c129e 100644 --- a/Documentation/installation/osx/install.md +++ b/Documentation/installation/osx/install.md @@ -14,6 +14,12 @@ $ go get -u github.com/go-delve/delve/cmd/dlv With this method you will not be able to use delve's native backend, *but you don't need it anyway*: the native backend on macOS [has known problems](https://github.com/go-delve/delve/issues/1112) on recent issues of the OS and is not currently maintained. +If you didn't enable Developer Mode using XCode you will be asked to authorize the debugger every time you use it. To enable Developer Mode and only have to authorize once per session use: + +``` +sudo /usr/sbin/DevToolsSecurity -enable +``` + ## Compiling the native backend Only do this if you have a valid reason to use the native backend.