diff options
author | Gabriele Greco <gabrielegreco@gmail.com> | 2020-07-15 11:17:35 +0200 |
---|---|---|
committer | Richard Lau <rlau@redhat.com> | 2020-10-07 10:13:51 -0400 |
commit | ee11ab50a749db8ce678aa30af79311b52beaf4a (patch) | |
tree | 5a91b1f979ccbc3fb27d20853f89e1b6717a40a8 | |
parent | e9e86e1b602cb10f67259e169eb0a5feb114ad24 (diff) | |
download | node-new-ee11ab50a749db8ce678aa30af79311b52beaf4a.tar.gz |
tools: add debug entitlements for macOS 10.15+
To debug native modules node should be a debuggable process, that will
require the **com.apple.security.get-task-allow** entitlement to be
added to the codesign procedure.
PR-URL: https://github.com/nodejs/node/pull/34378
Fixes: https://github.com/nodejs/node/issues/34340
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
-rw-r--r-- | tools/osx-entitlements.plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/osx-entitlements.plist b/tools/osx-entitlements.plist index 555c10f7ff..57a738b762 100644 --- a/tools/osx-entitlements.plist +++ b/tools/osx-entitlements.plist @@ -12,5 +12,7 @@ <true/> <key>com.apple.security.cs.disable-library-validation</key> <true/> + <key>com.apple.security.get-task-allow</key> + <true/> </dict> </plist> |