-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
154 lines (154 loc) · 3.48 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
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "ruby-debug",
"displayName": "Ruby Debug",
"version": "0.3.4",
"publisher": "castwide",
"description": "A Ruby debugger that uses the Debug Adapter Protocol.",
"author": {
"name": "Fred Snyder"
},
"license": "MIT",
"keywords": [
"ruby",
"debug adapter protocol"
],
"engines": {
"vscode": "^1.31.0"
},
"extensionKind": "workspace",
"icon": "vscode-ruby-debug.png",
"categories": [
"Debuggers"
],
"repository": {
"type": "git",
"url": "https://github.com/castwide/vscode-ruby-debug"
},
"bugs": {
"url": "https://github.com/castwide/vscode-ruby-debug/issues"
},
"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"
},
"dependencies": {
"await-notify": "1.0.1",
"ps-tree": "1.2.0",
"ruby-spawn": "1.2.0",
"vscode-debugadapter": "1.33.0"
},
"devDependencies": {
"@types/mocha": "5.2.5",
"@types/node": "8.9.3",
"mocha": "5.2.0",
"tslint": "5.11.0",
"typescript": "3.1.6",
"vsce": "1.53.2",
"vscode": "^1.1.36",
"vscode-debugadapter-testsupport": "1.33.0"
},
"main": "./out/extension",
"activationEvents": [
"onDebug",
"onCommand:ruby-debug.getProgramName"
],
"contributes": {
"breakpoints": [
{
"language": "ruby"
}
],
"debuggers": [
{
"type": "ruby-debug",
"label": "Ruby Debug",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a Ruby file.",
"default": "${workspaceFolder}/${command:AskForProgramName}"
},
"programArgs": {
"type": "array",
"description": "Arguments for the program being debugged",
"default": []
},
"debugger": {
"type": "string",
"description": "The path to the readapt executable.",
"default": "readapt"
},
"debuggerArgs": {
"type": "array",
"description": "Arguments for the debugger",
"default": [
"--host",
"127.0.0.1",
"--port",
"1234"
]
},
"useBundler": {
"type": "boolean",
"description": "Start the debugger with Bundler",
"default": false
}
}
}
},
"initialConfigurations": [
{
"type": "ruby-debug",
"request": "launch",
"name": "Launch File",
"program": "${workspaceFolder}/${command:AskForProgramName}",
"programArgs": [],
"useBundler": false
}
],
"configurationSnippets": [
{
"label": "Ruby Debug: Launch",
"description": "Run a file in the workspace",
"body": {
"type": "ruby-debug",
"request": "launch",
"name": "Launch File",
"program": "^\"\\${workspaceFolder}/\\${command:AskForProgramName}\"",
"programArgs": [],
"useBundler": false
}
},
{
"label": "Ruby Debug: RSpec",
"description": "Run RSpec in a debugger",
"body": {
"type": "ruby-debug",
"request": "launch",
"name": "RSpec",
"program": "rspec",
"programArgs": [
"^\"\\${workspaceFolder}\""
],
"useBundler": false
}
}
],
"variables": {
"AskForProgramName": "ruby-debug.getProgramName"
}
}
]
}
}