forked from imdj360/VSCodeXsltDebugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.19 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 4.19 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
{
"name": "xsltdebugger",
"displayName": "XSLT Debugger",
"description": "A VS Code extension for debugging XSLT using a .NET Debug Adapter.",
"version": "1.0.2",
"publisher": "DanielJonathan",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/imdj360/VSCodeXsltDebugger.git"
},
"engines": {
"vscode": "^1.105.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onDebugInitialConfigurations:xslt",
"onDebugResolve:xslt"
],
"main": "./out/extension.js",
"contributes": {
"debuggers": [
{
"type": "xslt",
"label": "XSLT Debugger",
"languages": [
"xml",
"xsl",
"xslt"
],
"enableBreakpointsFor": [
"xml",
"xsl",
"xslt"
],
"configurationAttributes": {
"launch": {
"properties": {
"name": {
"type": "string",
"description": "Name of the debug configuration",
"default": "XSLT: Launch"
},
"stylesheet": {
"type": "string",
"description": "Path to the XSLT stylesheet to execute",
"default": "${file}"
},
"xml": {
"type": "string",
"description": "Path to the XML input document"
},
"engine": {
"type": "string",
"enum": [
"compiled",
"saxonnet",
"saxon"
],
"enumDescriptions": [
"XSLT 1.0 engine with inline C# support",
"Saxon.NET engine for XSLT 1.0/2.0/3.0",
"Alias for saxonnet"
],
"default": "compiled",
"description": "Execution engine to use for the transform"
},
"stopOnEntry": {
"type": "boolean",
"default": false,
"description": "Pause immediately when the transform starts"
},
"debug": {
"type": "boolean",
"default": true,
"description": "Enable debugging mode (breakpoints and stepping)"
},
"logLevel": {
"type": "string",
"enum": [
"none",
"log",
"trace",
"traceall"
],
"enumDescriptions": [
"Silent mode - no logging (only errors)",
"General execution events (started, compiled, ended)",
"Detailed troubleshooting (breakpoints, execution flow)",
"Full XPath value tracking (context nodes, variable values)"
],
"default": "log",
"description": "Logging verbosity level"
}
},
"required": [
"stylesheet",
"xml"
]
}
},
"initialConfigurations": [
{
"type": "xslt",
"name": "XSLT: Launch",
"request": "launch",
"stylesheet": "${file}",
"xml": "${workspaceFolder}/XsltDebugger.ConsoleTest/sample/sample.xml",
"engine": "compiled",
"stopOnEntry": false
}
]
}
],
"breakpoints": [
{
"language": "xml"
},
{
"language": "xsl"
},
{
"language": "xslt"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.105.0",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.36.0",
"typescript": "^5.9.3"
},
"mock:start": "node ./tools/mock-adapter/adapter.js"
}