|
189 | 189 | },
|
190 | 190 | "args": {
|
191 | 191 | "type": [
|
192 |
| - "array", |
193 |
| - "string" |
| 192 | + "array" |
194 | 193 | ],
|
| 194 | + "items": { |
| 195 | + "type": "string" |
| 196 | + }, |
195 | 197 | "description": "Program arguments.",
|
196 | 198 | "default": []
|
197 | 199 | },
|
|
293 | 295 | },
|
294 | 296 | "initCommands": {
|
295 | 297 | "type": "array",
|
| 298 | + "items": { |
| 299 | + "type": "string" |
| 300 | + }, |
296 | 301 | "description": "Initialization commands executed upon debugger startup.",
|
297 | 302 | "default": []
|
298 | 303 | },
|
299 | 304 | "preRunCommands": {
|
300 | 305 | "type": "array",
|
| 306 | + "items": { |
| 307 | + "type": "string" |
| 308 | + }, |
301 | 309 | "description": "Commands executed just before the program is launched.",
|
302 | 310 | "default": []
|
303 | 311 | },
|
304 | 312 | "postRunCommands": {
|
305 | 313 | "type": "array",
|
| 314 | + "items": { |
| 315 | + "type": "string" |
| 316 | + }, |
306 | 317 | "description": "Commands executed just as soon as the program is successfully launched when it's in a stopped state prior to any automatic continuation.",
|
307 | 318 | "default": []
|
308 | 319 | },
|
309 | 320 | "launchCommands": {
|
310 | 321 | "type": "array",
|
| 322 | + "items": { |
| 323 | + "type": "string" |
| 324 | + }, |
311 | 325 | "description": "Custom commands that are executed instead of launching a process. A target will be created with the launch arguments prior to executing these commands. The commands may optionally create a new target and must perform a launch. A valid process must exist after these commands complete or the \"launch\" will fail. Launch the process with \"process launch -s\" to make the process to at the entry point since lldb-dap will auto resume if necessary.",
|
312 | 326 | "default": []
|
313 | 327 | },
|
314 | 328 | "stopCommands": {
|
315 | 329 | "type": "array",
|
| 330 | + "items": { |
| 331 | + "type": "string" |
| 332 | + }, |
316 | 333 | "description": "Commands executed each time the program stops.",
|
317 | 334 | "default": []
|
318 | 335 | },
|
319 | 336 | "exitCommands": {
|
320 | 337 | "type": "array",
|
| 338 | + "items": { |
| 339 | + "type": "string" |
| 340 | + }, |
321 | 341 | "description": "Commands executed when the program exits.",
|
322 | 342 | "default": []
|
323 | 343 | },
|
324 | 344 | "terminateCommands": {
|
325 | 345 | "type": "array",
|
| 346 | + "items": { |
| 347 | + "type": "string" |
| 348 | + }, |
326 | 349 | "description": "Commands executed when the debugging session ends.",
|
327 | 350 | "default": []
|
328 | 351 | },
|
|
332 | 355 | "default": false
|
333 | 356 | },
|
334 | 357 | "timeout": {
|
335 |
| - "type": "string", |
| 358 | + "type": "number", |
336 | 359 | "description": "The time in seconds to wait for a program to stop at entry point when launching with \"launchCommands\". Defaults to 30 seconds."
|
337 | 360 | },
|
338 | 361 | "enableAutoVariableSummaries": {
|
|
449 | 472 | },
|
450 | 473 | "attachCommands": {
|
451 | 474 | "type": "array",
|
| 475 | + "items": { |
| 476 | + "type": "string" |
| 477 | + }, |
452 | 478 | "description": "Custom commands that are executed instead of attaching to a process ID or to a process by name. These commands may optionally create a new target and must perform an attach. A valid process must exist after these commands complete or the \"attach\" will fail.",
|
453 | 479 | "default": []
|
454 | 480 | },
|
455 | 481 | "initCommands": {
|
456 | 482 | "type": "array",
|
| 483 | + "items": { |
| 484 | + "type": "string" |
| 485 | + }, |
457 | 486 | "description": "Initialization commands executed upon debugger startup.",
|
458 | 487 | "default": []
|
459 | 488 | },
|
460 | 489 | "preRunCommands": {
|
461 | 490 | "type": "array",
|
| 491 | + "items": { |
| 492 | + "type": "string" |
| 493 | + }, |
462 | 494 | "description": "Commands executed just before the program is attached to.",
|
463 | 495 | "default": []
|
464 | 496 | },
|
465 | 497 | "postRunCommands": {
|
466 | 498 | "type": "array",
|
| 499 | + "items": { |
| 500 | + "type": "string" |
| 501 | + }, |
467 | 502 | "description": "Commands executed just as soon as the program is successfully attached when it's in a stopped state prior to any automatic continuation.",
|
468 | 503 | "default": []
|
469 | 504 | },
|
470 | 505 | "stopCommands": {
|
471 | 506 | "type": "array",
|
| 507 | + "items": { |
| 508 | + "type": "string" |
| 509 | + }, |
472 | 510 | "description": "Commands executed each time the program stops.",
|
473 | 511 | "default": []
|
474 | 512 | },
|
475 | 513 | "exitCommands": {
|
476 | 514 | "type": "array",
|
| 515 | + "items": { |
| 516 | + "type": "string" |
| 517 | + }, |
477 | 518 | "description": "Commands executed when the program exits.",
|
478 | 519 | "default": []
|
479 | 520 | },
|
480 | 521 | "terminateCommands": {
|
481 | 522 | "type": "array",
|
| 523 | + "items": { |
| 524 | + "type": "string" |
| 525 | + }, |
482 | 526 | "description": "Commands executed when the debugging session ends.",
|
483 | 527 | "default": []
|
484 | 528 | },
|
|
487 | 531 | "description": "Path to the core file to debug."
|
488 | 532 | },
|
489 | 533 | "timeout": {
|
490 |
| - "type": "string", |
| 534 | + "type": "number", |
491 | 535 | "description": "The time in seconds to wait for a program to stop when attaching using \"attachCommands\". Defaults to 30 seconds."
|
492 | 536 | },
|
493 | 537 | "gdb-remote-port": {
|
|
0 commit comments