158 lines
5.1 KiB
JSON
158 lines
5.1 KiB
JSON
{
|
|
"name": "debug-visualizer",
|
|
"private": true,
|
|
"displayName": "Debug Visualizer",
|
|
"description": "A visual watch window that lets you visualize your data structures while debugging.",
|
|
"icon": "docs/logo.drawio.png",
|
|
"version": "3.0.0",
|
|
"license": "GPL-3.0",
|
|
"engines": {
|
|
"vscode": "^1.84.0"
|
|
},
|
|
"publisher": "ai-coder",
|
|
"keywords": [
|
|
"debugger",
|
|
"debugging",
|
|
"debug",
|
|
"visual",
|
|
"javascript",
|
|
"graph",
|
|
"ast",
|
|
"visualization"
|
|
],
|
|
"bugs": {
|
|
"url": "https://git.fairfaxmedia.net/ai_coder/vscode-debug-visualizer/issues"
|
|
},
|
|
"author": {
|
|
"email": "henning.dieterichs@live.de",
|
|
"name": "Henning Dieterichs"
|
|
},
|
|
"readme": "./README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.fairfaxmedia.net/ai_coder/vscode-debug-visualizer"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onDebug",
|
|
"onWebviewPanel:debugVisualizer"
|
|
],
|
|
"capabilities": {
|
|
"untrustedWorkspaces": {
|
|
"supported": false
|
|
}
|
|
},
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "vscode-debug-visualizer.new-visualizer",
|
|
"title": "Debug Visualizer: New View"
|
|
},
|
|
{
|
|
"command": "vscode-debug-visualizer.visualizer-set-expression",
|
|
"title": "Debug Visualizer: Use Selection as Expression"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "vscode-debug-visualizer.visualizer-set-expression",
|
|
"key": "shift+f1",
|
|
"when": "editorTextFocus"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Debug Visualizer",
|
|
"properties": {
|
|
"debugVisualizer.js.customScriptPaths": {
|
|
"type": "array",
|
|
"description": "Defines JavaScript sources that are injected into the debuggee to provide custom data extractors.",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "The file path to a custom js script. Must be absolute. You can use ${workspaceFolder}. Must assign `module.exports` an object of type `import('@hediet/debug-visualizer-data-extraction').LoadDataExtractorsFn`."
|
|
}
|
|
},
|
|
"debugVisualizer.customVisualizerScriptPaths": {
|
|
"type": "array",
|
|
"description": "Defines JavaScript sources that are injected into the visualizer to provide custom visualizations.",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "The file path to a custom js script. Must be absolute. You can use ${workspaceFolder}. Must assign `module.exports` an object of type `import('@hediet/visualization-core').RegisterVisualizerFn`."
|
|
}
|
|
},
|
|
"debugVisualizer.useChromeKioskMode": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Pop out Debug Visualization Views with Chrome in Kiosk Mode."
|
|
},
|
|
"debugVisualizer.debugAdapterConfigurations": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"expressionTemplate": {
|
|
"type:": "string",
|
|
"description": "A template for the final expression sent to the debugger for evaluation. Use `${expr}` to refer to the currently visualized expression."
|
|
},
|
|
"context": {
|
|
"type": "string",
|
|
"enum": [
|
|
"watch",
|
|
"repl"
|
|
],
|
|
"description": "The context to use for evaluating the expression."
|
|
},
|
|
"nodeTableGraph": {
|
|
"type": "boolean",
|
|
"description": "Use the built-in node-table graph visualization for this debug adapter type, walking the expression via the standard evaluate/variables/scopes requests instead of expressionTemplate. Enabled by default for every adapter type except ones with a more specific built-in engine (node/chrome/pwa-* JS adapters, rdbg); set to false to fall back to expressionTemplate for a given adapter type, or true to opt a JS/Ruby adapter back in."
|
|
},
|
|
"setupExpression": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "Commands run once per debug session (context \"repl\") before the node-table graph walk -- e.g. gdb's pretty-printing/print-elements/print-characters options."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"pub": "vsce publish --packagePath ./dist/extension.vsix",
|
|
"package": "vsce package --no-dependencies -o ./dist/extension.vsix --yarn --baseImagesUrl https://git.fairfaxmedia.net/ai_coder/vscode-debug-visualizer/raw/master/extension --baseContentUrl https://git.fairfaxmedia.net/ai_coder/vscode-debug-visualizer/raw/master/extension",
|
|
"vscode:prepublish": "",
|
|
"build": "webpack --mode production",
|
|
"dev": "shx rm -rf dist && tsc -watch -p ./"
|
|
},
|
|
"dependencies": {
|
|
"@hediet/std": "^0.6.0",
|
|
"@hediet/typed-json-rpc": "^0.7.7",
|
|
"@hediet/typed-json-rpc-websocket-server": "^0.7.7",
|
|
"chrome-launcher": "^0.12.0",
|
|
"@hediet/node-reload": "^0.7.3",
|
|
"express": "^4.17.1",
|
|
"open": "^7.0.2",
|
|
"serve-static": "^1.14.1",
|
|
"ws": "^7.2.1",
|
|
"crypto-random-string": "^3.1.0",
|
|
"mobx-utils": "^5.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"@types/copy-webpack-plugin": "^10.1.0",
|
|
"@types/express": "^4.17.2",
|
|
"@types/serve-static": "^1.13.3",
|
|
"@types/node": "^13.7.4",
|
|
"@types/vscode": "^1.84.0",
|
|
"tslint": "^6.1.3",
|
|
"typescript": "^5.1.6",
|
|
"webpack": "^5.88.1",
|
|
"webpack-cli": "^5.1.4",
|
|
"ts-loader": "^9.4.4",
|
|
"shx": "^0.3.2",
|
|
"vsce": "2.9.3"
|
|
}
|
|
}
|