summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox-macos-strict.sb
diff options
context:
space:
mode:
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"))