fix debugging with seatbelt, including in strict profile (#300)

This commit is contained in:
Olcan
2025-05-09 08:44:40 -07:00
committed by GitHub
parent baa26e9e2e
commit b35a3856a2
4 changed files with 42 additions and 21 deletions

View File

@@ -20,6 +20,7 @@ node ./scripts/check-build-status.js
# if debugging is enabled and sandboxing is disabled, use --inspect-brk flag
# note with sandboxing this flag is passed to the binary inside the sandbox
# inside sandbox SANDBOX should be set and sandbox_command.sh should fail
node_args=()
if [ -n "${DEBUG:-}" ] && ! scripts/sandbox_command.sh -q; then
if [ -n "${SANDBOX:-}" ]; then