Skip to content

Commit 8d169f3

Browse files
committed
Change R debug config to launch through wrapper script
1 parent 12e95fd commit 8d169f3

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.devcontainer/launch.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "(lldb) Attach to R",
6-
"type": "lldb",
7-
"request": "attach",
8-
"pid": "${command:pickMyProcess}",
9-
"stopOnEntry": false
5+
"name": "Debug R (C debugging)",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"program": "/workspaces/r-dev-env/scripts/launch_r.sh",
9+
"args": ["/workspaces/r-dev-env/build/r-devel/bin/R"],
10+
"stopAtEntry": false,
11+
"cwd": "${workspaceFolder}",
12+
"environment": [],
13+
"externalConsole": false,
14+
"MIMode": "lldb"
1015
}
1116
]
1217
}

0 commit comments

Comments
 (0)