This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (140 loc) · 3.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
{
"name": "vscode-solidity-debug",
"displayName": "Solidity Debug",
"version": "0.0.1",
"publisher": "webcerebrium",
"description": "Extension for debugging Solidity contract transactions on Ethereum blockchain for VS Code.",
"author": {
"name": "Web Cerebrium OÜ",
"email": "[email protected]"
},
"keywords": [
"solidity",
"debuggers",
"debug",
"ethereum",
"smart-contracts"
],
"engines": {
"vscode": "^1.17.0",
"node": ">= 8"
},
"icon": "images/solidity-debug-icon.png",
"categories": [
"Debuggers"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/webcerebrium/vscode-solidity-debug.git"
},
"bugs": {
"url": "https://github.com/webcerebrium/vscode-solidity-debug/issues"
},
"dependencies": {
"evm-breakpoints": "0.0.1",
"vscode-debugadapter": "^1.25.0-pre.0",
"vscode-debugprotocol": "^1.25.0-pre.0"
},
"devDependencies": {
"@types/node": "^6.0.50",
"@types/mocha": "^2.2.44",
"typescript": "^2.5.3",
"mocha": "^3.5.0",
"vscode": "^1.1.6",
"vscode-debugadapter-testsupport": "^1.24.0",
"tslint": "^5.8.0",
"vsce": "^1.31.2"
},
"scripts": {
"prepublish": "tsc -p ./src",
"compile": "tsc -p ./src",
"tslint": "tslint ./src/**/*.ts",
"watch": "tsc -w -p ./src",
"test": "mocha -u tdd ./out/tests/",
"postinstall": "node ./node_modules/vscode/bin/install",
"package": "vsce package",
"publish": "vsce publish"
},
"main": "./out/extension",
"activationEvents": [
"onDebug",
"onCommand:extension.solidity-debug.getProgramName"
],
"contributes": {
"breakpoints": [
{
"language": "solidity"
}
],
"debuggers": [
{
"type": "solidity",
"label": "Solidity Debug",
"program": "./out/solidityDebug.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"compiledJson",
"rpc",
"transactionHash"
],
"properties": {
"program": {
"type": "string",
"description": "Solidity file that has to be debugged"
},
"compiledJson": {
"type": "string",
"description": "Absolute path to JSON files produced by Solidity compiler",
"default": "build/contracts/*.json"
},
"rpc": {
"type": "string",
"description": "HTTP Address of Ethereum blockchain RPC",
"default": "http://localhost:8545/"
},
"transactionHash": {
"type": "string",
"description": "Transaction Hash in Ethereum blockchain that has to be debugged"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
}
}
}
},
"initialConfigurations": [
],
"configurationSnippets": [
{
"label": "Solidity: Debug Transaction",
"description": "A new configuration for Solidity Debugger",
"body": {
"type": "solidity",
"request": "launch",
"name": "${2:Debug Transaction}",
"program": "${1:Program}",
"compiledJson": "",
"stopOnEntry": false,
"trace": true,
"rpc": "",
"transactionHash": ""
}
}
],
"variables": {
"AskForProgramName": "extension.solidity-debug.getProgramName"
}
}
]
}
}