forked from harold-b/musashi-vscode-deubgger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (101 loc) · 2.45 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
{
"name": "duk-debug",
"displayName": "Duktape Debug",
"version": "0.1.0",
"publisher": "sassafras",
"description": "Duktape debugger extension for VS Code.",
"author": {
"name": "Sassafras Software",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.1.0",
"node": "^5.10.0"
},
"icon": "img/vscode-duktape-adapter.svg",
"categories": [
"Debuggers"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/kurash/vscode-duktape-adapter.git"
},
"bugs": {
"url": "https://github.com/kurash/vscode-duktape-adapter/issues"
},
"dependencies": {
"vscode-debugprotocol": "^1.11.0-pre.8",
"vscode-debugadapter": "^1.11.0-pre.6"
},
"devDependencies": {
"typescript": "^1.8.5",
"mocha": "^2.4.5",
"vscode": "^0.11.13",
"vscode-debugadapter-testsupport": "^1.11.0-pre.0"
},
"scripts": {
"prepublish": "node ./node_modules/typescript/bin/tsc -p ./src",
"compile": "node ./node_modules/typescript/bin/tsc -p ./src",
"watch": "node ./node_modules/typescript/bin/tsc -w -p ./src",
"test": "node ./node_modules/mocha/bin/mocha -u tdd ./out/tests/",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"contributes": {
"breakpoints": [
{
"language": "javascript"
}
],
"debuggers": [
{
"type": "dukdbg",
"label": "Duktape Debug",
"program": "./out/DukDebugger.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [ "program" ],
"properties": {
"program": {
"type": "string",
"description": "Name of main script.",
"default": "script.js"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"localRoot": {
"type": "string",
"description": "Absolute path to a source root.",
"default": "${workspaceRoot}"
},
"host": {
"type": "string",
"description": "Address of host running the script engine.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "Port on which the script engine is listening.",
"default": 9091
}
}
}
},
"initialConfigurations": [
{
"name": "Duktape Debug",
"type": "dukdbg",
"request": "launch",
"program": "script.js",
"stopOnEntry": true,
"localRoot": "${workspaceRoot}"
}
]
}
]
}
}