-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 3.57 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
{
"name": "vscode-iotjs-debug",
"displayName": "VSCode IoT.js Debug",
"description": "IoT.js debug adapter for Visual Studio Code",
"version": "0.0.1",
"publisher": "Samsung",
"author": {
"name": "Samsung Electronics Co., Ltd."
},
"repository": {
"type": "git",
"url": "git+https://github.com/knightburton/vscode-iotjs-debug.git"
},
"license": "Apache-2.0",
"private": false,
"keywords": [
"iotjs",
"jerry",
"jerryscript",
"debug",
"debugger",
"javascript",
"js"
],
"engines": {
"vscode": "^1.22.0",
"node": "^8.11.1"
},
"categories": [
"Debuggers"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.60",
"@types/ws": "^4.0.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"nodegit": "^0.22.0",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"babel-preset-env": "^1.6.1",
"vscode-debugadapter": "^1.28.0",
"vscode-debugprotocol": "^1.28.0",
"ws": "^5.1.1"
},
"activationEvents": [
"onDebug",
"onCommand:iotjs-debug.initialConfigurations"
],
"main": "./out/extension.js",
"files": [
"out/**"
],
"contributes": {
"breakpoints": [
{
"language": "javascript"
},
{
"language": "typescript"
}
],
"debuggers": [
{
"type": "iotjs",
"label": "IoT.js Debug",
"program": "./out/IotjsDebugger.js",
"runtime": "node",
"enableBreakpointsFor": {
"languageIds": [
"javascript",
"typescript"
]
},
"initialConfigurations": "iotjs-debug.initialConfigurations",
"configurationAttributes": {
"attach": {
"properties": {
"address": {
"type": "string",
"description": "IP address on which the server listening. Default is 'localhost'.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "Debug port to attach to. Default is 5001.",
"default": 5001
},
"localRoot": {
"type": [
"string",
"null"
],
"description": "The local source root.",
"default": null
},
"stopOnEntry": {
"type": "boolean",
"description": "Autmoatically stop the program after launch,",
"default": true
},
"debugLog": {
"type": "boolean",
"description": "Allowes to log debug messages to the console.",
"default": false
}
}
}
},
"configurationSnippets": [
{
"label": "IoT.js: Attach",
"description": "Attach to a running IoT.js or JerryScript.",
"body": {
"name": "IoT.js: Attach",
"type": "iotjs",
"request": "attach",
"address": "localhost",
"port": 5001,
"localRoot": "${workspaceRoot}",
"stopOnEntry": false,
"debugLog": false
}
}
]
}
]
}
}