-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
package.json
1483 lines (1483 loc) · 56.4 KB
/
package.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "cpptools",
"displayName": "C/C++",
"description": "C/C++ IntelliSense, debugging, and code browsing.",
"version": "0.17.0-master",
"publisher": "ms-vscode",
"preview": true,
"icon": "LanguageCCPP_color_128x.png",
"readme": "README.md",
"author": {
"name": "Microsoft Corporation"
},
"license": "SEE LICENSE IN LICENSE.txt",
"engines": {
"vscode": "^1.22.0"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-cpptools/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-cpptools.git"
},
"homepage": "https://github.com/Microsoft/vscode-cpptools",
"qna": "https://github.com/Microsoft/vscode-cpptools/issues",
"keywords": [
"C",
"C++",
"IntelliSense",
"Microsoft",
"multi-root ready"
],
"categories": [
"Programming Languages",
"Debuggers",
"Formatters",
"Linters",
"Snippets"
],
"activationEvents": [
"*"
],
"main": "./out/src/main",
"contributes": {
"problemMatchers": [
{
"name": "gcc",
"owner": "cpptools",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
],
"configuration": {
"type": "object",
"title": "C/C++ Configuration",
"properties": {
"C_Cpp.clang_format_path": {
"type": [
"string",
"null"
],
"default": null,
"description": "The full path of the clang-format executable.",
"scope": "resource"
},
"C_Cpp.clang_format_style": {
"type": "string",
"default": "file",
"description": "Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use \"file\" to load the style from a .clang-format file in the current or parent directory. Use \"{key: value, ...}\" to set specific parameters, e.g.: \"{ BasedOnStyle: LLVM, IndentWidth: 8 }\"",
"scope": "resource"
},
"C_Cpp.clang_format_fallbackStyle": {
"type": "string",
"default": "Visual Studio",
"description": "Name of the predefined style used as a fallback in case clang-format is invoked with style \"file\" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, none, or use \"{key: value, ...}\" to set specific parameters, e.g.: \"{ BasedOnStyle: LLVM, IndentWidth: 8 }\"",
"scope": "resource"
},
"C_Cpp.clang_format_sortIncludes": {
"type": [
"boolean",
"null"
],
"enum": [
true,
false,
null
],
"default": null,
"description": "If set, overrides the include sorting behavior determined by the SortIncludes parameter.",
"scope": "resource"
},
"C_Cpp.intelliSenseEngine": {
"type": "string",
"enum": [
"Default",
"Tag Parser"
],
"default": "Default",
"description": "Controls the IntelliSense provider. \"Tag Parser\" provides \"fuzzy\" results that are not context-aware. \"Default\" provides context-aware results and is in preview mode - member list, hover tooltips, and error squiggles are currently implemented. Features not yet implemented in the new default engine will use the tag parser engine instead.",
"scope": "resource"
},
"C_Cpp.intelliSenseEngineFallback": {
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"default": "Enabled",
"description": "Controls whether the IntelliSense engine will automatically switch to the Tag Parser for translation units containing #include errors.",
"scope": "resource"
},
"C_Cpp.autocomplete": {
"type": "string",
"enum": [
"Default",
"Disabled"
],
"default": "Default",
"description": "Controls the auto-completion provider. \"Default\" uses the active IntelliSense engine. \"Disabled\" uses the word-based completion provided by Visual Studio Code.",
"scope": "resource"
},
"C_Cpp.errorSquiggles": {
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"default": "Enabled",
"description": "Controls whether suspected compile errors detected by the IntelliSense engine will be reported back to the editor. Warnings about #includes that could not be located will always be reported to the editor. This setting is ignored by the Tag Parser engine.",
"scope": "resource"
},
"C_Cpp.dimInactiveRegions": {
"type": "boolean",
"default": true,
"description": "Controls whether inactive preprocessor blocks are colored differently than active code. This setting is ignored by the Tag Parser engine.",
"scope": "resource"
},
"C_Cpp.formatting": {
"type": "string",
"enum": [
"Default",
"Disabled"
],
"default": "Default",
"description": "\"Default\" enables code formatting. \"Disabled\" disables code formatting.",
"scope": "resource"
},
"C_Cpp.navigation.length": {
"type": "number",
"default": 60,
"description": "Maximum character length of the scope/navigation UI in the status bar. The UI may not appear if this value is too large.",
"scope": "resource"
},
"C_Cpp.loggingLevel": {
"type": "string",
"enum": [
"None",
"Error",
"Warning",
"Information"
],
"default": "Error",
"description": "The verbosity of logging in the Output Panel. The order of levels from least verbose to most verbose is: None < Error < Warning < Information.",
"scope": "resource"
},
"C_Cpp.autoAddFileAssociations": {
"type": "boolean",
"default": true,
"description": "Controls whether files are automatically added to files.associations when they are the target of a navigation operation from a C/C++ file.",
"scope": "resource"
},
"C_Cpp.workspaceParsingPriority": {
"type": "string",
"enum": [
"highest",
"high",
"medium",
"low"
],
"default": "highest",
"description": "Controls whether parsing of the non-active workspace files uses sleeps to avoid using 100% CPU. The values highest/high/medium/low correspond to approximately 100/75/50/25% CPU usage.",
"scope": "resource"
},
"C_Cpp.exclusionPolicy": {
"type": "string",
"enum": [
"checkFolders",
"checkFilesAndFolders"
],
"default": "checkFolders",
"description": "Instructs the extension when to use the \"files.exclude\" setting when determining which files should be added to the code navigation database while traversing through the paths in the \"browse.path\" array. \"checkFolders\" means that the exclusion filters will only be evaluated once per folder (individual files are not checked). \"checkFilesAndFolders\" means that the exclusion filters will be evaluated against every file and folder encountered. If your \"files.exclude\" setting only contains folders, then \"checkFolders\" is the best choice and will increase the speed at which the extension can initialize the code navigation database.",
"scope": "resource"
},
"C_Cpp.preferredPathSeparator": {
"type": "string",
"enum": [
"Forward Slash",
"Backslash"
],
"default": "Forward Slash",
"description": "The character used as a path separator for #include auto-completion results.",
"scope": "resource"
},
"C_Cpp.commentContinuationPatterns": {
"type": "array",
"default": [
"/**"
],
"items": {
"anyOf": [
{
"type": "string",
"description": "The pattern that begins a multiline or single line comment block. The continuation pattern defaults to ' * ' for multiline comment blocks or this string for single line comment blocks."
},
{
"type": "object",
"properties": {
"begin": {
"type": "string",
"description": "The pattern that begins a multiline or single line comment block."
},
"continue": {
"type": "string",
"description": "The text that will be inserted on the next line when Enter is pressed inside a multiline or single line comment block."
}
}
}
]
},
"description": "Defines the editor behavior for when the Enter key is pressed inside a multiline or single line comment block.",
"scope": "resource"
},
"C_Cpp.default.includePath": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use in a configuration if \"includePath\" is not specified, or the values to insert if \"${default}\" is present in \"includePath\".",
"scope": "resource"
},
"C_Cpp.default.defines": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use in a configuration if \"defines\" is not specified, or the values to insert if \"${default}\" is present in \"defines\".",
"scope": "resource"
},
"C_Cpp.default.macFrameworkPath": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use in a configuration if \"macFrameworkPath\" is not specified, or the values to insert if \"${default}\" is present in \"macFrameworkPath\".",
"scope": "resource"
},
"C_Cpp.default.compileCommands": {
"type": [
"string",
"null"
],
"default": null,
"description": "The value to use in a configuration if \"compileCommands\" is either not specified, or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.forcedInclude": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use in a configuration if \"forcedInclude\" is not specified, or the values to insert if \"${default}\" is present in \"forcedInclude\".",
"scope": "resource"
},
"C_Cpp.default.intelliSenseMode": {
"type": [
"string",
"null"
],
"enum": [
"msvc-x64",
"clang-x64"
],
"default": null,
"description": "The value to use in a configuration if \"intelliSenseMode\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.compilerPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "The value to use in a configuration if \"compilerPath\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.cStandard": {
"type": [
"string",
"null"
],
"enum": [
"c89",
"c99",
"c11"
],
"default": null,
"description": "The value to use in a configuration if \"cStandard\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.cppStandard": {
"type": [
"string",
"null"
],
"enum": [
"c++98",
"c++03",
"c++11",
"c++14",
"c++17"
],
"default": null,
"description": "The value to use in a configuration if \"cppStandard\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.browse.path": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use in a configuration if \"browse.path\" is not specified, or the values to insert if \"${default}\" is present in \"browse.path\".",
"scope": "resource"
},
"C_Cpp.default.browse.databaseFilename": {
"type": [
"string",
"null"
],
"default": null,
"description": "The value to use in a configuration if \"browse.databaseFilename\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": {
"type": "boolean",
"default": true,
"description": "The value to use in a configuration if \"browse.limitSymbolsToIncludedHeaders\" is either not specified or set to \"${default}\".",
"scope": "resource"
},
"C_Cpp.default.systemIncludePath": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"default": null,
"description": "The value to use for the system include path. If set, it overrides the system include path acquired via \"compilerPath\" and \"compileCommands\" settings.",
"scope": "resource"
}
}
},
"commands": [
{
"command": "C_Cpp.ConfigurationSelect",
"title": "Select a Configuration...",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ConfigurationEdit",
"title": "Edit Configurations...",
"category": "C/Cpp"
},
{
"command": "C_Cpp.GoToDeclaration",
"title": "Go to Declaration",
"category": "C/Cpp"
},
{
"command": "C_Cpp.PeekDeclaration",
"title": "Peek Declaration",
"category": "C/Cpp"
},
{
"command": "C_Cpp.SwitchHeaderSource",
"title": "Switch Header/Source",
"category": "C/Cpp"
},
{
"command": "C_Cpp.Navigate",
"title": "Navigate...",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ToggleSnippets",
"title": "Toggle Snippets",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ToggleErrorSquiggles",
"title": "Toggle Error Squiggles",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ToggleIncludeFallback",
"title": "Toggle IntelliSense Engine Fallback on Include Errors",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ToggleDimInactiveRegions",
"title": "Toggle Inactive Region Colorization",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ShowReleaseNotes",
"title": "Show Release Notes",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ResetDatabase",
"title": "Reset IntelliSense Database",
"category": "C/Cpp"
},
{
"command": "C_Cpp.PauseParsing",
"title": "Pause Parsing",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ResumeParsing",
"title": "Resume Parsing",
"category": "C/Cpp"
},
{
"command": "C_Cpp.ShowParsingCommands",
"title": "Show Parsing Commands",
"category": "C/Cpp"
},
{
"command": "C_Cpp.TakeSurvey",
"title": "Take Survey",
"category": "C/Cpp"
}
],
"keybindings": [
{
"command": "C_Cpp.GoToDeclaration",
"key": "Ctrl+F12",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"command": "C_Cpp.GoToDeclaration",
"key": "Ctrl+F12",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"command": "C_Cpp.PeekDeclaration",
"key": "Ctrl+Alt+F12",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"command": "C_Cpp.PeekDeclaration",
"key": "Ctrl+Alt+F12",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"command": "C_Cpp.SwitchHeaderSource",
"key": "Alt+O",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"command": "C_Cpp.SwitchHeaderSource",
"key": "Alt+O",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"command": "C_Cpp.Navigate",
"key": "Alt+N",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"command": "C_Cpp.Navigate",
"key": "Alt+N",
"when": "editorTextFocus && editorLangId == 'c'"
}
],
"debuggers": [
{
"type": "cppdbg",
"label": "C++ (GDB/LLDB)",
"enableBreakpointsFor": {
"languageIds": [
"c",
"cpp"
]
},
"adapterExecutableCommand": "extension.cppdbgAdapterExecutableCommand",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"variables": {
"pickProcess": "extension.pickNativeProcess",
"pickRemoteProcess": "extension.pickRemoteNativeProcess"
},
"configurationAttributes": {
"launch": {
"type": "object",
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Full path to program executable.",
"default": "${workspaceRoot}/a.out"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program.",
"items": {
"type": "string"
},
"default": []
},
"type": {
"type": "string",
"description": "The type of the engine. Must be \"cppdbg\".",
"default": "cppdbg"
},
"targetArchitecture": {
"type": "string",
"description": "The architecture of the debuggee. This will automatically be detected unless this parameter is set. Allowed values are x86, arm, arm64, mips, x64, amd64, x86_64.",
"default": "x64"
},
"cwd": {
"type": "string",
"description": "The working directory of the target",
"default": "."
},
"setupCommands": {
"type": "array",
"description": "One or more GDB/LLDB commands to execute in order to setup the underlying debugger. Example: \"setupCommands\": [ { \"text\": \"-enable-pretty-printing\", \"description\": \"Enable GDB pretty printing\", \"ignoreFailures\": true }].",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The debugger command to execute.",
"default": ""
},
"description": {
"type": "string",
"description": "Optional description for the command.",
"default": ""
},
"ignoreFailures": {
"type": "boolean",
"description": "If true, failures from the command should be ignored. Default value is false.",
"default": false
}
}
},
"default": []
},
"customLaunchSetupCommands": {
"type": "array",
"description": "If provided, this replaces the default commands used to launch a target with some other commands. For example, this can be \"-target-attach\" in order to attach to a target process. An empty command list replaces the launch commands with nothing, which can be useful if the debugger is being provided launch options as command line options. Example: \"customLaunchSetupCommands\": [ { \"text\": \"target-run\", \"description\": \"run target\", \"ignoreFailures\": false }].",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The debugger command to execute.",
"default": ""
},
"description": {
"type": "string",
"description": "Optional description for the command.",
"default": ""
},
"ignoreFailures": {
"type": "boolean",
"description": "If true, failures from the command should be ignored. Default value is false.",
"default": false
}
}
},
"default": []
},
"launchCompleteCommand": {
"enum": [
"exec-run",
"exec-continue",
"None"
],
"description": "The command to execute after the debugger is fully setup in order to cause the target process to run. Allowed values are \"exec-run\", \"exec-continue\", \"None\". The default value is \"exec-run\".",
"default": "exec-run"
},
"visualizerFile": {
"type": "string",
"description": ".natvis file to be used when debugging this process. This option is not compatible with GDB pretty printing. Please also see \"showDisplayString\" if using this setting.",
"default": ""
},
"showDisplayString": {
"type": "boolean",
"description": "When a visualizerFile is specified, showDisplayString will enable the display string. Turning this option on can cause slower performance during debugging.",
"default": true
},
"environment": {
"type": "array",
"description": "Environment variables to add to the environment for the program. Example: [ { \"name\": \"squid\", \"value\": \"clam\" } ].",
"items": {
"type": "object",
"properties": {
"name": "string",
"value": "string"
}
},
"default": []
},
"additionalSOLibSearchPath": {
"type": "string",
"description": "Semicolon separated list of directories to use to search for .so files. Example: \"c:\\dir1;c:\\dir2\".",
"default": ""
},
"MIMode": {
"type": "string",
"description": "Indicates the console debugger that the MIDebugEngine will connect to. Allowed values are \"gdb\" \"lldb\".",
"default": "gdb"
},
"miDebuggerPath": {
"type": "string",
"description": "The path to the mi debugger (such as gdb). When unspecified, it will search path first for the debugger.",
"default": "/usr/bin/gdb"
},
"miDebuggerServerAddress": {
"type": "string",
"description": "Network address of the MI Debugger Server to connect to (example: localhost:1234).",
"default": "serveraddress:port"
},
"stopAtEntry": {
"type": "boolean",
"description": "Optional parameter. If true, the debugger should stop at the entrypoint of the target. If processId is passed, has no effect.",
"default": false
},
"debugServerPath": {
"type": "string",
"description": "Optional full path to debug server to launch. Defaults to null.",
"default": ""
},
"debugServerArgs": {
"type": "string",
"description": "Optional debug server args. Defaults to null.",
"default": ""
},
"serverStarted": {
"type": "string",
"description": "Optional server-started pattern to look for in the debug server output. Defaults to null.",
"default": ""
},
"filterStdout": {
"type": "boolean",
"description": "Search stdout stream for server-started pattern and log stdout to debug output. Defaults to true.",
"default": true
},
"filterStderr": {
"type": "boolean",
"description": "Search stderr stream for server-started pattern and log stderr to debug output. Defaults to false.",
"default": false
},
"serverLaunchTimeout": {
"type": "integer",
"description": "Optional time, in milliseconds, for the debugger to wait for the debugServer to start up. Default is 10000.",
"default": "10000"
},
"coreDumpPath": {
"type": "string",
"description": "Optional full path to a core dump file for the specified program. Defaults to null.",
"default": ""
},
"externalConsole": {
"type": "boolean",
"description": "If true, a console is launched for the debuggee. If false, no console is launched. Note this option is ignored in some cases for technical reasons.",
"default": false
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"logging": {
"description": "Optional flags to determine what types of messages should be logged to the Debug Console.",
"type": "object",
"default": {},
"properties": {
"exceptions": {
"type": "boolean",
"description": "Optional flag to determine whether exception messages should be logged to the Debug Console. Defaults to true.",
"default": true
},
"moduleLoad": {
"type": "boolean",
"description": "Optional flag to determine whether module load events should be logged to the Debug Console. Defaults to true.",
"default": true
},
"programOutput": {
"type": "boolean",
"description": "Optional flag to determine whether program output should be logged to the Debug Console. Defaults to true.",
"default": true
},
"engineLogging": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the Debug Console. Defaults to false.",
"default": false
},
"trace": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the Debug Console. Defaults to false.",
"default": false
},
"traceResponse": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the Debug Console. Defaults to false.",
"default": false
}
}
},
"pipeTransport": {
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the MI-enabled debugger backend executable (such as gdb).",
"type": "object",
"default": {
"pipeCwd": "/usr/bin",
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
"pipeArgs": [],
"debuggerPath": "The full path to the debugger on the target machine, for example /usr/bin/gdb."
},
"properties": {
"pipeCwd": {
"type": "string",
"description": "The fully qualified path to the working directory for the pipe program.",
"default": "/usr/bin"
},
"pipeProgram": {
"type": "string",
"description": "The fully qualified pipe command to execute.",
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
},
"pipeArgs": {
"type": "array",
"description": "Command line arguments passed to the pipe program to configure the connection.",
"items": {
"type": "string"
},
"default": []
},
"debuggerPath": {
"type": "string",
"description": "The full path to the debugger on the target machine, for example /usr/bin/gdb.",
"default": "The full path to the debugger on the target machine, for example /usr/bin/gdb."
},
"pipeEnv": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables passed to the pipe program.",
"default": {}
}
}
}
}
},
"attach": {
"type": "object",
"required": [
"program",
"processId"
],
"properties": {
"program": {
"type": "string",
"description": "Full path to program executable.",
"default": "${workspaceRoot}/a.out"
},
"type": {
"type": "string",
"description": "The type of the engine. Must be \"cppdbg\".",
"default": "cppdbg"
},
"targetArchitecture": {
"type": "string",
"description": "The architecture of the debuggee. This will automatically be detected unless this parameter is set. Allowed values are x86, arm, arm64, mips, x64, amd64, x86_64.",
"default": "x64"
},
"visualizerFile": {
"type": "string",
"description": ".natvis file to be used when debugging this process. This option is not compatible with GDB pretty printing. Please also see \"showDisplayString\" if using this setting.",
"default": ""
},
"showDisplayString": {
"type": "boolean",
"description": "When a visualizerFile is specified, showDisplayString will enable the display string. Turning this option on can cause slower performance during debugging.",
"default": true
},
"additionalSOLibSearchPath": {
"type": "string",
"description": "Semicolon separated list of directories to use to search for .so files. Example: \"c:\\dir1;c:\\dir2\".",
"default": ""
},
"MIMode": {
"type": "string",
"description": "Indicates the console debugger that the MIDebugEngine will connect to. Allowed values are \"gdb\" \"lldb\".",
"default": "gdb"
},
"miDebuggerPath": {
"type": "string",
"description": "The path to the mi debugger (such as gdb). When unspecified, it will search path first for the debugger.",
"default": "/usr/bin/gdb"
},
"miDebuggerServerAddress": {
"type": "string",
"description": "Network address of the MI Debugger Server to connect to (example: localhost:1234).",
"default": "serveraddress:port"
},
"processId": {
"anyOf": [
{
"type": "string",
"description": "Optional process id to attach the debugger to. Use \"${command:pickProcesss}\" to get a list of local running processes to attach to. Note that some platforms require administrator privileges in order to attach to a process.",
"default": "${command:pickProcess}"
},
{
"type": "integer",
"description": "Optional process id to attach the debugger to. Use \"${command:pickProcesss}\" to get a list of local running processes to attach to. Note that some platforms require administrator privileges in order to attach to a process.",
"default": 0
}
]
},
"filterStdout": {
"type": "boolean",
"description": "Search stdout stream for server-started pattern and log stdout to debug output. Defaults to true.",
"default": true
},
"filterStderr": {
"type": "boolean",
"description": "Search stderr stream for server-started pattern and log stderr to debug output. Defaults to false.",
"default": false
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"logging": {
"description": "Optional flags to determine what types of messages should be logged to the Debug Console.",
"type": "object",
"default": {},
"properties": {
"exceptions": {
"type": "boolean",
"description": "Optional flag to determine whether exception messages should be logged to the Debug Console. Defaults to true.",
"default": true
},
"moduleLoad": {
"type": "boolean",
"description": "Optional flag to determine whether module load events should be logged to the Debug Console. Defaults to true.",
"default": true
},
"programOutput": {
"type": "boolean",
"description": "Optional flag to determine whether program output should be logged to the Debug Console. Defaults to true.",
"default": true
},
"engineLogging": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the Debug Console. Defaults to false.",
"default": false
},
"trace": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the Debug Console. Defaults to false.",
"default": false
},
"traceResponse": {
"type": "boolean",
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the Debug Console. Defaults to false.",
"default": false
}
}
},
"pipeTransport": {
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the MI-enabled debugger backend executable (such as gdb).",
"type": "object",
"default": {
"pipeCwd": "/usr/bin",
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
"pipeArgs": [],
"debuggerPath": "The full path to the debugger on the target machine, for example /usr/bin/gdb."
},
"properties": {
"pipeCwd": {
"type": "string",
"description": "The fully qualified path to the working directory for the pipe program.",
"default": "/usr/bin"
},
"pipeProgram": {
"type": "string",
"description": "The fully qualified pipe command to execute.",
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
},
"pipeArgs": {
"type": "array",
"description": "Command line arguments passed to the pipe program to configure the connection.",
"items": {
"type": "string"
},
"default": []
},
"debuggerPath": {
"type": "string",
"description": "The full path to the debugger on the target machine, for example /usr/bin/gdb.",
"default": "The full path to the debugger on the target machine, for example /usr/bin/gdb."
},
"pipeEnv": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables passed to the pipe program.",
"default": {}
}
}
},
"setupCommands": {
"type": "array",
"description": "One or more GDB/LLDB commands to execute in order to setup the underlying debugger. Example: \"setupCommands\": [ { \"text\": \"-enable-pretty-printing\", \"description\": \"Enable GDB pretty printing\", \"ignoreFailures\": true }].",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The debugger command to execute.",
"default": ""
},
"description": {
"type": "string",
"description": "Optional description for the command.",
"default": ""
},
"ignoreFailures": {
"type": "boolean",
"description": "If true, failures from the command should be ignored. Default value is false.",
"default": false
}
}
},
"default": []
}
}
}
}
},
{
"type": "cppvsdbg",
"label": "C++ (Windows)",
"enableBreakpointsFor": {
"languageIds": [