Skip to content

Instantly share code, notes, and snippets.

@weissi
Created January 20, 2020 11:32
Show Gist options
  • Save weissi/5f7825fd508e95c5020b084a03e2a440 to your computer and use it in GitHub Desktop.
Save weissi/5f7825fd508e95c5020b084a03e2a440 to your computer and use it in GitHub Desktop.
docker run -it --rm --cap-add=SYS_PTRACE --security-opt seccomp=unconfined swift:5.1 bash -c 'echo "print(1)" > /tmp/test.swift && cd /tmp && swiftc test.swift && lldb --batch -o "break set -n main" -o run -o cont ./test'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment