1diff --git a/package.json b/package.json
2index 518e839..1c17c35 100644
3--- a/package.json
4+++ b/package.json
5@@ -37,7 +37,26 @@
6 "Linters"
7 ],
8 "activationEvents": [
9- "*"
10+ "onLanguage:cpp",
11+ "onLanguage:c",
12+ "onCommand:extension.pickNativeProcess",
13+ "onCommand:extension.pickRemoteNativeProcess",
14+ "onCommand:extension.provideInitialConfigurations_cppvsdbg",
15+ "onCommand:extension.provideInitialConfigurations_cppdbg",
16+ "onCommand:C_Cpp.ConfigurationEdit",
17+ "onCommand:C_Cpp.ConfigurationSelect",
18+ "onCommand:C_Cpp.SwitchHeaderSource",
19+ "onCommand:C_Cpp.UnloadLanguageServer",
20+ "onCommand:C_Cpp.Navigate",
21+ "onCommand:C_Cpp.GoToDeclaration",
22+ "onCommand:C_Cpp.PeekDeclaration",
23+ "onCommand:C_Cpp.ToggleErrorSquiggles",
24+ "onCommand:C_Cpp.ToggleIncludeFallback",
25+ "onCommand:C_Cpp.ShowReleaseNotes",
26+ "onCommand:C_Cpp.ResetDatabase",
27+ "workspaceContains:.vscode/c_cpp_properties.json",
28+ "onDebug:cppdbg",
29+ "onDebug:cppvsdbg"
30 ],
31 "main": "./out/src/main",
32 "contributes": {
33@@ -281,8 +300,7 @@
34 "cpp"
35 ]
36 },
37- "runtime": "node",
38- "program": "./out/src/Debugger/Proxy/debugProxy.js",
39+ "program": "./debugAdapters/OpenDebugAD7",
40 "aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
41 "variables": {
42 "pickProcess": "extension.pickNativeProcess",
43@@ -722,7 +740,29 @@
44 }
45 }
46 }
47- }
48+ },
49+ "configurationSnippets": [
50+ {
51+ "label": "C/C++: (gdb) Launch",
52+ "description": "Launch with gdb.",
53+ "bodyText": "{\n\t\"name\": \"(gdb) Launch\",\n\t\"type\": \"cppdbg\",\n\t\"request\": \"launch\",\n\t\"program\": \"enter program name, for example \\${workspaceRoot}/a.out\",\n\t\"args\": [],\n\t\"stopAtEntry\": false,\n\t\"cwd\": \"\\${workspaceRoot}\",\n\t\"environment\": [],\n\t\"externalConsole\": true,\n\t\"MIMode\": \"gdb\",\n\t\"setupCommands\": [\n\t {\n\t \"description\": \"Enable pretty-printing for gdb\",\n\t \"text\": \"-enable-pretty-printing\",\n\t \"ignoreFailures\": true\n\t }\n\t]\n}"
54+ },
55+ {
56+ "label": "C/C++: (gdb) Attach",
57+ "description": "Attach with gdb.",
58+ "bodyText": "{ \n\t\"name\": \"(gdb) Attach\",\n\t\"type\": \"cppdbg\",\n\t\"request\": \"attach\",\n\t\"program\": \"enter program name, for example \\${workspaceRoot}/a.out\",\n\t\"processId\": \"\\${command:pickProcess}\",\n\t\"MIMode\": \"gdb\"\n}"
59+ },
60+ {
61+ "label": "C/C++: (gdb) Pipe Launch",
62+ "description": "Pipe Launch with gdb.",
63+ "bodyText": "{\n\t\"name\": \"(gdb) Pipe Launch\",\n\t\"type\": \"cppdbg\",\n\t\"request\": \"launch\",\n\t\"program\": \"enter program name, for example \\${workspaceRoot}/a.out\",\n\t\"args\": [],\n\t\"stopAtEntry\": false,\n\t\"cwd\": \"\\${workspaceRoot}\",\n\t\"environment\": [],\n\t\"externalConsole\": true,\n\t\"pipeTransport\": {\n\t\t\"debuggerPath\": \"/usr/bin/gdb\",\n\t\t\"pipeProgram\": \"/usr/bin/ssh\",\n\t\t\"pipeArgs\": [],\n\t\t\"pipeCwd\": \"\"\n\t},\n\t\"MIMode\": \"gdb\",\n\t\"setupCommands\": [\n\t {\n\t \"description\": \"Enable pretty-printing for gdb\",\n\t \"text\": \"-enable-pretty-printing\",\n\t \"ignoreFailures\": true\n\t }\n\t]\n}"
64+ },
65+ {
66+ "label": "C/C++: (gdb) Pipe Attach",
67+ "description": "Pipe Attach with gdb.",
68+ "bodyText": "{\n\t\"name\": \"(gdb) Pipe Attach\",\n\t\"type\": \"cppdbg\",\n\t\"request\": \"attach\",\n\t\"program\": \"enter program name, for example \\${workspaceRoot}/a.out\",\n\t\"processId\": \"\\${command:pickRemoteProcess}\",\n\t\"pipeTransport\": {\n\t\t\"debuggerPath\": \"/usr/bin/gdb\",\n\t\t\"pipeProgram\": \"/usr/bin/ssh\",\n\t\t\"pipeArgs\": [],\n\t\t\"pipeCwd\": \"\"\n\t},\n\t\"MIMode\": \"gdb\"\n}"
69+ }
70+ ]
71 },
72 {
73 "type": "cppvsdbg",
74@@ -741,7 +781,7 @@
75 "variables": {
76 "pickProcess": "extension.pickNativeProcess"
77 },
78- "initialConfigurations": "extension.provideInitialConfigurations_cppvsdbg",
79+ "initialConfigurations": "",
80 "configurationAttributes": {
81 "launch": {
82 "required": [