From b35a3856a28a08bda81443a6702e1ee1d4f40103 Mon Sep 17 00:00:00 2001 From: Olcan Date: Fri, 9 May 2025 08:44:40 -0700 Subject: fix debugging with seatbelt, including in strict profile (#300) --- packages/cli/src/utils/sandbox-macos-strict.sb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/cli/src/utils/sandbox-macos-strict.sb') 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")) -- cgit v1.2.3