Skip to content

Launch.json schema

Antonio Davide edited this page Mar 2, 2023 · 2 revisions
{
    version: "1.0.0", 

    configurations: [
      {
          name: "My Launch", // Launch name
          type: "shell|process", // Execute as shell or process
          program: "${workspace_folder}/my_executable",
          cwd: "${workspace_folder}",
          depends: ["My Task"], // Execute task "My Task" before "My Launch"
          default: true|false,  // Default launch configuration

          // DAP Configuration (optional)
          type: "cppdpg", // Equals to 'dap.adapters.[key]' from your DAP config

          // Extra fields are forwarded to dap.run() command
      }
    ]
}
Clone this wiki locally