-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
77 lines (77 loc) · 1.83 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
{
"name": "cocos-debug",
"displayName": "Cocos Debug",
"version": "0.0.1",
"publisher": "chukong technology",
"description": "Debugger for cocos JSB programs",
"author": {
"name": "Chukong technology"
},
"engines": {
"vscode": "^0.10.1"
},
"categories": [
"Debuggers"
],
"private": true,
"dependencies": {
"vscode-debugadapter": "1.6.0-pre12",
"vscode-debugprotocol": "1.6.0-pre8",
"vscode-nls": "^1.0.4"
},
"devDependencies": {
"typescript": "^1.6.2",
"mocha": "^2.3.4"
},
"scripts": {
"prepublish": "tsc -p ./src",
"watch": "tsc -w -p ./src"
},
"contributes": {
"debuggers": [
{
"type": "cocos",
"label": "Cocos-JSB",
"enableBreakpointsFor": { "languageIds": [ "javascript" ] },
"program": "./out/cocosFXDebug.js",
"runtime": "node",
"configurationAttributes": {
"attach": {
"properties": {
"port": {
"type": "number",
"description": "Debug port to attach to. Default is 5086.",
"default": 5086
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory of the program being debugged.",
"default": "${workspaceRoot}"
},
"address": {
"type": "string",
"description": "The TCP/IP address of the port (remote addresses only supported for node >= 5.0). Default is 'localhost'.",
"default": "localhost"
},
"timeout": {
"type": "number",
"description": "Retry for this number of milliseconds to connect to the cocos JSB program. Default is 10000 ms.",
"default": 10000
}
}
}
},
"initialConfigurations": [
{
"name": "Cocos-Debug",
"type": "cocos",
"request": "attach",
"port": 5086,
"address": "localhost",
"cwd": "${workspaceRoot}"
}
]
}
]
}
}