-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.24 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.24 KB
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
{
"name": "dap-estgi",
"displayName": "Haskell DAP ESTGi",
"description": "Debug with VSCode",
"version": "0.0.1",
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Debuggers"
],
"activationEvents": [ "onDebug", "onDebugResolve:dap-estgi", "onDebug:garbageCollect" ],
"main": "./out/extension.js",
"contributes": {
"views": {
"debug": [
{
"id": "dap-estgi.heapValuesView",
"name": "Heap Values"
}
]
},
"menus": {
"view/item/context": [
{
"command": "dap-estgi.jumpToStg",
"when": "view == dap-estgi.heapValuesView",
"group": "debug"
}
],
"debug/variables/context": [
{ "when": "inDebugMode",
"command": "dap-estgi.showGraphStructure",
"group": "debug"
},
{ "when": "inDebugMode",
"command": "dap-estgi.jumpToStg",
"group": "debug"
}
],
"debug/toolBar": [
{ "when": "inDebugMode",
"command": "dap-estgi.showCallGraph",
"group": "debug"
},
{ "when": "inDebugMode",
"command": "dap-estgi.garbageCollect",
"group": "debug"
}
]
},
"commands" :[
{
"command": "dap-estgi.showGraphStructure",
"category": "debug",
"title": "Show Graph Structure"
},
{
"command": "dap-estgi.jumpToStg",
"category": "debug",
"title": "Jump to STG Code"
},
{
"command": "dap-estgi.showCallGraph",
"category": "debug",
"title": "Show Call Graph",
"icon": "$(type-hierarchy-sub)"
},
{
"command": "dap-estgi.garbageCollect",
"category": "debug",
"title": "Garbage Collect",
"icon": "$(trash)"
}
],
"debuggers": [
{ "type": "dap-estgi",
"languages": [
"haskell"
],
"program": "${workspaceFolder}/**ghc_stgapp",
"label": "Haskell DAP ESTGi",
"configurationAttributes": {
"attach": {
"required": ["program"],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to the program",
"default": "${workspaceFolder}/**ghc_stgapp"
}
}
}
},
"initialConfigurations": [
{
"name": "Connect to DAP ESTGi",
"type": "dap-estgi",
"request": "attach",
"program": "${workspaceFolder}/**ghc_stgapp"
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.77.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"@vscode/test-electron": "^2.3.0"
}
}