Skip to content

Commit 6512ce9

Browse files
Updated launch.json for VS Code on Linux
1 parent 2f42031 commit 6512ce9

1 file changed

Lines changed: 59 additions & 2 deletions

File tree

.vscode/launch.json

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,33 @@
9999
}
100100
]
101101
},
102+
{
103+
"name": "GLFWDemo",
104+
"type": "cppdbg",
105+
"request": "launch",
106+
"program": "${workspaceFolder}/build/DiligentSamples/Samples/GLFWDemo/GLFWDemo",
107+
"args": ["-mode vk"],
108+
"stopAtEntry": false,
109+
"cwd": "${workspaceFolder}/DiligentSamples/Samples/GLFWDemo/assets",
110+
"environment": [],
111+
"externalConsole": true,
112+
"MIMode": "gdb",
113+
"setupCommands": [
114+
{
115+
"description": "Enable pretty-printing for gdb",
116+
"text": "-enable-pretty-printing",
117+
"ignoreFailures": true
118+
}
119+
]
120+
},
102121
{
103122
"name": "GhostCubeScene",
104123
"type": "cppdbg",
105124
"request": "launch",
106-
"program": "${workspaceFolder}/build/unityplugin/GhostCubeScene/GhostCubeScene",
125+
"program": "${workspaceFolder}/build/DiligentSamples/UnityPlugin/GhostCubeScene/GhostCubeScene",
107126
"args": ["-mode gl"],
108127
"stopAtEntry": false,
109-
"cwd": "${workspaceFolder}/unityplugin/GhostCubeScene/assets",
128+
"cwd": "${workspaceFolder}//DiligentSamples/UnityPlugin/GhostCubeScene/assets",
110129
"environment": [],
111130
"externalConsole": true,
112131
"MIMode": "gdb",
@@ -517,6 +536,44 @@
517536
}
518537
]
519538
},
539+
{
540+
"name": "Tutorial21_RayTracing",
541+
"type": "cppdbg",
542+
"request": "launch",
543+
"program": "${workspaceFolder}/build/DiligentSamples/Tutorials/Tutorial21_RayTracing/Tutorial21_RayTracing",
544+
"args": ["-mode vk"],
545+
"stopAtEntry": false,
546+
"cwd": "${workspaceFolder}/DiligentSamples/Tutorials/Tutorial21_RayTracing/assets",
547+
"environment": [],
548+
"externalConsole": true,
549+
"MIMode": "gdb",
550+
"setupCommands": [
551+
{
552+
"description": "Enable pretty-printing for gdb",
553+
"text": "-enable-pretty-printing",
554+
"ignoreFailures": true
555+
}
556+
]
557+
},
558+
{
559+
"name": "Tutorial22_HybridRendering",
560+
"type": "cppdbg",
561+
"request": "launch",
562+
"program": "${workspaceFolder}/build/DiligentSamples/Tutorials/Tutorial22_HybridRendering/Tutorial22_HybridRendering",
563+
"args": ["-mode vk"],
564+
"stopAtEntry": false,
565+
"cwd": "${workspaceFolder}/DiligentSamples/Tutorials/Tutorial22_HybridRendering/assets",
566+
"environment": [],
567+
"externalConsole": true,
568+
"MIMode": "gdb",
569+
"setupCommands": [
570+
{
571+
"description": "Enable pretty-printing for gdb",
572+
"text": "-enable-pretty-printing",
573+
"ignoreFailures": true
574+
}
575+
]
576+
},
520577
{
521578
"name": "DiligentCoreTest",
522579
"type": "cppdbg",

0 commit comments

Comments
 (0)