-
Notifications
You must be signed in to change notification settings - Fork 4
/
launch.json
72 lines (72 loc) · 2.81 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"version": "0.2.0",
"configurations": [
{
"name": "Desktop debug target",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.getLaunchTargetPath}",
"args": [],
"stopAtEntry": false,
"cwd": "${command:cmake.getLaunchTargetDirectory}",
"environment": [],
"preLaunchTask": "CMake: build",
"MIMode": "lldb",
"windows": {
"name": "Desktop debug target",
"type": "cppvsdbg",
"request": "launch",
"program": "${command:cmake.getLaunchTargetPath}",
"console": "integratedTerminal",
},
"linux": {
"name": "Desktop debug target",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.getLaunchTargetPath}",
"MIMode": "gdb",
}
},
{
"type": "node-terminal",
"name": "Web debug target",
"request": "launch",
"preLaunchTask": "CMake: build",
"command": "tools/web/static-server ${command:cmake.getLaunchTargetDirectory} 8123 $(tools/web/target-to-html.sh ${command:cmake.getLaunchTargetFilename})",
"cwd": "${workspaceFolder}",
"windows": {
"type": "node-terminal",
"name": "Web run",
"request": "launch",
"command": "${workspaceFolder}/tools/web/run-web.bat ${command:cmake.getLaunchTargetDirectory} ${command:cmake.getLaunchTargetFilename}",
}
},
{
"type": "gdb",
"request": "attach",
"name": "DOS debug target",
"executable": "${command:cmake.getLaunchTargetPath}.exe",
"target": "localhost:5123",
"remote": true,
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceFolder}/tools/dos/gdb/gdb",
"preLaunchTask": "r96-task-dosbox-debug",
"internalConsoleOptions": "neverOpen",
"stopAtConnect": true
},
{
"type": "node-terminal",
"name": "DOS run target",
"request": "launch",
"preLaunchTask": "CMake: build",
"command": "${workspaceFolder}/tools/dos/dosbox-x/dosbox-x -conf ${workspaceFolder}/tools/dos/dosbox-x.conf -fastlaunch -exit ${command:cmake.getLaunchTargetPath}.exe && exit",
"windows": {
"name": "DOS run target",
"type": "node-terminal",
"request": "launch",
"command": "${workspaceFolder}/tools/dos/run-dos.bat ${command:cmake.getLaunchTargetPath}; exit",
"cwd": "${workspaceFolder}"
}
},
]
}