This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
162 lines (162 loc) · 4.73 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
155
156
157
158
159
160
161
162
{
"name": "snapshotdbg",
"displayName": "Snapshot Debugger",
"publisher": "GoogleCloudPlatform",
"license": "Apache-2.0",
"description": "Integrates the Snapshot Debugger into your IDE. Set dynamic logpoints and grab snapshots from your running applications.",
"version": "0.2.1",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Debuggers"
],
"main": "./out/main.js",
"icon": "media/icon-512.png",
"activationEvents": [
"onDebugResolve:snapshotdbg",
"onDebugDynamicConfigurations:snapshotdbg"
],
"contributes": {
"menus": {
"debug/toolBar": [
{
"command": "extension.snapshotdbg.viewHistoricalSnapshot",
"when": "extension.snapshotdbg.isActive",
"icon": "$(history)"
},
{
"command": "extension.snapshotdbg.toggleExpressions",
"when": "extension.snapshotdbg.isActive",
"icon": "media/expr.svg"
}
]
},
"commands": [
{
"command": "extension.snapshotdbg.viewHistoricalSnapshot",
"title": "View the snapshot of a historical already completed breakpoint.",
"when": "extension.snapshotdbg.isActive",
"icon": "$(history)"
},
{
"command": "extension.snapshotdbg.toggleExpressions",
"title": "Enable/Disable Expressions Prompt On Breakpoint Creation",
"when": "extension.snapshotdbg.isActive",
"icon": "media/expr.svg"
}
],
"breakpoints": [
{
"language": "javascript"
},
{
"language": "typescript"
},
{
"language": "python"
},
{
"language": "java"
},
{
"language": "php"
}
],
"debuggers": [
{
"type": "snapshotdbg",
"languages": [
"javascript",
"typescript",
"python",
"java",
"php"
],
"label": "Snapshot Debugger",
"configurationAttributes": {
"attach": {
"properties": {
"databaseUrl": {
"type": "string",
"description": "URL to the Firebase Realtime Database to use."
},
"debuggeeId": {
"type": "string",
"description": "ID of the debuggee to debug."
},
"debugOutput": {
"type": "boolean",
"description": "If enabled, will output extension debug messages to the console."
},
"connectionTimeoutMs": {
"type": "number",
"description": "Timeout for initial firebase database connection, in milliseconds."
}
}
}
},
"initialConfigurations": [
{
"type": "snapshotdbg",
"name": "Snapshot Debugger",
"request": "attach",
"databaseUrl": ""
}
],
"configurationSnippets": [
{
"label": "Snapshot Debugger",
"description": "A new configuration for debugging a live application using Snapshot Debugger.",
"body": {
"type": "snapshotdbg",
"request": "attach",
"name": "Snapshot Debugger",
"databaseUrl": "",
"debuggeeId": ""
}
}
]
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/GoogleCloudPlatform/snapshot-debugger.git"
},
"bugs": {
"url": "https://github.com/GoogleCloudPlatform/snapshot-debugger/issues"
},
"homepage": "https://github.com/GoogleCloudPlatform/snapshot-debugger/tree/main/snapshot_dbg_extension#readme",
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"dependencies": {
"@vscode/debugadapter": "^1.59.0",
"@vscode/debugprotocol": "^1.59.0",
"firebase-admin": "^11.5.0"
},
"devDependencies": {
"@types/glob": "^8.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@vscode/test-electron": "^2.2.2",
"esbuild": "^0.17.12",
"eslint": "^8.33.0",
"glob": "^8.1.0",
"mocha": "^10.1.0",
"typescript": "^4.9.4"
}
}