Skip to content

Commit b686781

Browse files
committed
changes to devcontainer.json
1 parent 46b8b6c commit b686781

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"hostRequirements": {
55
"cpus": 4
66
},
7+
"runArgs": [
8+
"--cap-add=SYS_PTRACE"
9+
],
710
"customizations": {
811
"vscode": {
912
"settings": {
@@ -12,8 +15,8 @@
1215
"editor.detectIndentation": false,
1316
"r.lsp.diagnostics": false,
1417
"r.plot.useHttpgd": true,
15-
"r.rpath.linux": "/usr/bin/R",
16-
"r.rterm.linux": "/usr/bin/R",
18+
"r.rterm.linux": "/workspaces/r-dev-env/scripts/launch_r.sh",
19+
"r.rpath.linux": "/workspaces/r-dev-env/build/r-devel/bin/R",
1720
"terminal.integrated.sendKeybindingsToShell": true,
1821
"svn.multipleFolders.enabled": true,
1922
"workbench.editorAssociations": {
@@ -28,9 +31,10 @@
2831
"johnstoncode.svn-scm",
2932
"ms-vscode.cpptools",
3033
"MS-vsliveshare.vsliveshare",
31-
"natqe.reload"
34+
"natqe.reload",
35+
"vadimcn.vscode-lldb"
3236
]
3337
}
3438
},
35-
"postCreateCommand": "find . -wholename '*.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && sh /workspaces/r-dev-env/scripts/localscript.sh"
39+
"postCreateCommand": "find . -wholename '.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && \\\n gcc -shared -fPIC -o /workspaces/r-dev-env/scripts/allow_ptrace.so /workspaces/r-dev-env/scripts/allow_ptrace.c && \\\n chmod +x /workspaces/r-dev-env/scripts/launch_r.sh && \\\n sh /workspaces/r-dev-env/scripts/localscript.sh"
3640
}

0 commit comments

Comments
 (0)