summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox-macos-strict.sb
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-05-09 08:44:40 -0700
committerGitHub <[email protected]>2025-05-09 08:44:40 -0700
commitb35a3856a28a08bda81443a6702e1ee1d4f40103 (patch)
treeef6b7cfa38d1eab9ab8a7b56edbfea51c5bbd1c3 /packages/cli/src/utils/sandbox-macos-strict.sb
parentbaa26e9e2e55a588a4e29c0a425c14ff8e6b4ef0 (diff)
fix debugging with seatbelt, including in strict profile (#300)
Diffstat (limited to 'packages/cli/src/utils/sandbox-macos-strict.sb')
-rw-r--r--packages/cli/src/utils/sandbox-macos-strict.sb3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/utils/sandbox-macos-strict.sb b/packages/cli/src/utils/sandbox-macos-strict.sb
index 29f46a84..1a7c63d0 100644
--- a/packages/cli/src/utils/sandbox-macos-strict.sb
+++ b/packages/cli/src/utils/sandbox-macos-strict.sb
@@ -76,6 +76,9 @@
;; allow outbound network connections
(allow network-outbound)
+;; allow inbound network connections to debugging port
+(allow network-inbound (local ip (string-append "*:" "9229")))
+
;; allow communication with sysmond for process listing (e.g. for pgrep)
(allow mach-lookup (global-name "com.apple.sysmond"))