Skip to content

Commit cea7fa5

Browse files
Added container options to allow lldb/gdb to run
1 parent d8b08ef commit cea7fa5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cmsc/.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"DISPLAY": "${localEnv:DISPLAY}"
1111
},
1212
"runArgs": [
13-
"--volume", "/tmp/.X11-unix:/tmp/.X11-unix"
13+
"--volume", "/tmp/.X11-unix:/tmp/.X11-unix",
14+
"--cap-add=SYS_PTRACE",
15+
"--security-opt", "seccomp=unconfined"
1416
],
1517
"features": {
1618
"ghcr.io/devcontainers/features/common-utils:2": {

src/cmsc/devcontainer-template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "cmsc",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"name": "UChicago CS",
55
"description": "A devcontainer template for UChicago CS courses.",
66
"publisher": "University of Chicago - Department of Computer Science",

0 commit comments

Comments
 (0)