forked from xdebug/vscode-php-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
177 lines (177 loc) Β· 5.08 KB
/
package.json
File metadata and controls
177 lines (177 loc) Β· 5.08 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "php-debug",
"displayName": "PHP Debug",
"version": "1.9.6",
"publisher": "felixfbecker",
"license": "MIT",
"description": "Debug support for PHP with XDebug",
"keywords": [
"php",
"debug",
"xdebug"
],
"author": {
"name": "Felix Becker",
"email": "felix.b@outlook.com"
},
"engines": {
"vscode": "^1.6.0",
"node": ">=6.0.0"
},
"icon": "images/logo.svg",
"galleryBanner": {
"color": "#6682BA",
"theme": "dark"
},
"categories": [
"Debuggers"
],
"repository": {
"type": "git",
"url": "https://github.com/felixfbecker/vscode-php-debug.git"
},
"bugs": {
"url": "https://github.com/felixfbecker/vscode-php-debug/issues"
},
"dependencies": {
"file-url": "^1.1.0",
"iconv-lite": "^0.4.13",
"moment": "^2.14.1",
"semver": "^5.3.0",
"url-relative": "^1.0.0",
"vscode-debugadapter": "^1.11.0",
"vscode-debugprotocol": "^1.11.0",
"xmldom": "^0.1.22"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"codecov": "^1.0.1",
"mocha": "^3.0.1",
"nyc": "^8.3.1",
"tslint": "^3.14.0",
"typescript": "^2.0.3",
"typings": "^1.3.2",
"vscode-debugadapter-testsupport": "^1.11.0"
},
"scripts": {
"compile": "tsc -p .",
"watch": "tsc -w -p .",
"start": "code testproject --extensionDevelopmentPath=.",
"test": "mocha out/test --timeout 20000 --slow 1000 --retries 4",
"cover": "nyc --all mocha out/test --timeout 20000 --slow 1000 --retries 4",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"postinstall": "typings install"
},
"nyc": {
"include": [
"out/**/*.js"
],
"exclude": [
"out/test/**/*.js"
]
},
"contributes": {
"debuggers": [
{
"type": "php",
"label": "PHP",
"enableBreakpointsFor": {
"languageIds": [
"php"
]
},
"program": "./out/phpDebug.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to the program."
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop program after launch.",
"default": false
},
"externalConsole": {
"type": "boolean",
"description": "Launch debug target in external console.",
"default": false
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program.",
"items": {
"type": "string"
},
"default": []
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory of the program being debugged. Default is the current workspace.",
"default": "${workspaceRoot}"
},
"runtimeExecutable": {
"type": "string",
"description": "Absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.",
"default": "php"
},
"runtimeArgs": {
"type": "array",
"description": "Optional arguments passed to the runtime executable.",
"items": {
"type": "string"
},
"default": []
},
"env": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables passed to the program.",
"default": {}
},
"port": {
"type": "number",
"description": "Port on which to listen for XDebug",
"default": 9000
},
"serverSourceRoot": {
"type": "string",
"description": "The source root when debugging a remote host"
},
"localSourceRoot": {
"type": "string",
"description": "The source root on this machine that is the equivalent to the serverSourceRoot on the server."
},
"log": {
"type": "boolean",
"description": "If true, will log all communication between VS Code and the adapter"
}
}
}
},
"initialConfigurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
]
}
}