From ee11ab50a749db8ce678aa30af79311b52beaf4a Mon Sep 17 00:00:00 2001 From: Gabriele Greco Date: Wed, 15 Jul 2020 11:17:35 +0200 Subject: [PATCH] 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 Reviewed-By: Michael Dawson Reviewed-By: Evan Lucas Reviewed-By: Matteo Collina --- tools/osx-entitlements.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/osx-entitlements.plist b/tools/osx-entitlements.plist index 555c10f7ff8607..57a738b7621edd 100644 --- a/tools/osx-entitlements.plist +++ b/tools/osx-entitlements.plist @@ -12,5 +12,7 @@ com.apple.security.cs.disable-library-validation + com.apple.security.get-task-allow +