Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit beb40a5

Browse files
authored
add --init runArg to r definition (#1049)
1 parent 6eee73d commit beb40a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

containers/r/.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@
3737
// Uncomment to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
3838
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
3939

40-
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
41-
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
40+
// Replace runArgs below when using a ptrace-based debugger like C++, Go, and Rust
41+
// "runArgs": [ "--init", "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
42+
"runArgs": [ "--init" ],
4243

4344
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
4445
"remoteUser": "vscode"

0 commit comments

Comments
 (0)