236 строки
5.8 KiB
JSON
236 строки
5.8 KiB
JSON
{
|
|
"name": "mono-debug",
|
|
"displayName": "Mono Debug",
|
|
"version": "0.16.3",
|
|
"publisher": "ms-vscode",
|
|
"description": "Visual Studio Code debugger extension for Mono",
|
|
"icon": "images/mono-debug-icon.png",
|
|
"categories": [
|
|
"Debuggers"
|
|
],
|
|
"author": {
|
|
"name": "Microsoft Corporation"
|
|
},
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"compile": "make build",
|
|
"lint": "make lint",
|
|
"watch": "make watch",
|
|
"test": "make run-tests"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.32.0",
|
|
"node": "^14.0.0"
|
|
},
|
|
"dependencies": {
|
|
"vscode-debugprotocol": "^1.42.0",
|
|
"vscode-nls": "^5.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode-mono-debug.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/microsoft/vscode-mono-debug/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^8.0.3",
|
|
"@types/node": "^14.11.5",
|
|
"@types/vscode": "^1.32.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.4.0",
|
|
"@typescript-eslint/parser": "^4.4.0",
|
|
"eslint": "^7.1.0",
|
|
"mocha": "^10.1.0",
|
|
"typescript": "^4.0.3",
|
|
"vsce": "^2.10.0",
|
|
"vscode-debugadapter-testsupport": "^1.42.0",
|
|
"vscode-nls-dev": "^3.3.2",
|
|
"vscode-test": "^1.4.0"
|
|
},
|
|
"main": "./out/extension",
|
|
"activationEvents": [
|
|
"onCommand:extension.mono-debug.configureExceptions",
|
|
"onCommand:extension.mono-debug.startSession"
|
|
],
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "%configuration.title%",
|
|
"properties": {
|
|
"mono-debug.exceptionOptions": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"enum": [
|
|
"never",
|
|
"always",
|
|
"unhandled"
|
|
],
|
|
"enumDescriptions": [
|
|
"%breakMode.never%",
|
|
"%breakMode.always%",
|
|
"%breakMode.unhandled%"
|
|
],
|
|
"description": "%configuration.exceptionOptions.description2%",
|
|
"default": "never"
|
|
},
|
|
"description": "%configuration.exceptionOptions.description%",
|
|
"default": {
|
|
"System.Exception": "never",
|
|
"System.SystemException": "never",
|
|
"System.ArithmeticException": "never",
|
|
"System.ArrayTypeMismatchException": "never",
|
|
"System.DivideByZeroException": "never",
|
|
"System.IndexOutOfRangeException": "never",
|
|
"System.InvalidCastException": "never",
|
|
"System.NullReferenceException": "never",
|
|
"System.OutOfMemoryException": "never",
|
|
"System.OverflowException": "never",
|
|
"System.StackOverflowException": "never",
|
|
"System.TypeInitializationException": "never"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "extension.mono-debug.configureExceptions",
|
|
"title": "%configure.exceptions.command%",
|
|
"category": "Debug"
|
|
}
|
|
],
|
|
"breakpoints": [
|
|
{
|
|
"language": "csharp"
|
|
},
|
|
{
|
|
"language": "vb"
|
|
},
|
|
{
|
|
"language": "fsharp"
|
|
}
|
|
],
|
|
"debuggers": [
|
|
{
|
|
"type": "mono",
|
|
"label": "C# Mono",
|
|
"program": "./bin/Release/mono-debug.exe",
|
|
"osx": {
|
|
"runtime": "mono"
|
|
},
|
|
"linux": {
|
|
"runtime": "mono"
|
|
},
|
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
|
"startSessionCommand": "extension.mono-debug.startSession",
|
|
"initialConfigurations": [
|
|
{
|
|
"name": "%mono.launch.config.name%",
|
|
"type": "mono",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/program.exe",
|
|
"cwd": "${workspaceRoot}"
|
|
},
|
|
{
|
|
"name": "%mono.attach.config.name%",
|
|
"type": "mono",
|
|
"request": "attach",
|
|
"address": "localhost",
|
|
"port": 55555
|
|
}
|
|
],
|
|
"configurationAttributes": {
|
|
"launch": {
|
|
"required": [
|
|
"program"
|
|
],
|
|
"properties": {
|
|
"program": {
|
|
"type": "string",
|
|
"description": "%mono.launch.program.description%"
|
|
},
|
|
"args": {
|
|
"type": "array",
|
|
"description": "%mono.launch.args.description%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": []
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "%mono.launch.cwd.description%",
|
|
"default": "."
|
|
},
|
|
"runtimeExecutable": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "%mono.launch.runtimeExecutable.description%",
|
|
"default": null
|
|
},
|
|
"runtimeArgs": {
|
|
"type": "array",
|
|
"description": "%mono.launch.runtimeArgs.description%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": []
|
|
},
|
|
"passDebugOptionsViaEnvironmentVariable": {
|
|
"type": "boolean",
|
|
"description": "%mono.launch.passDebugOptionsViaEnvironmentVariable.description%",
|
|
"default": false
|
|
},
|
|
"env": {
|
|
"type": "object",
|
|
"description": "%mono.launch.env.description%",
|
|
"default": {}
|
|
},
|
|
"externalConsole": {
|
|
"type": "boolean",
|
|
"deprecationMessage": "%mono.launch.externalConsole.deprecationMessage%",
|
|
"default": true
|
|
},
|
|
"console": {
|
|
"type": "string",
|
|
"enum": [
|
|
"internalConsole",
|
|
"integratedTerminal",
|
|
"externalTerminal"
|
|
],
|
|
"enumDescriptions": [
|
|
"%mono.launch.console.internalConsole.description%",
|
|
"%mono.launch.console.integratedTerminal.description%",
|
|
"%mono.launch.console.externalTerminal.description%"
|
|
],
|
|
"description": "%mono.launch.console.description%",
|
|
"default": "internalConsole"
|
|
}
|
|
}
|
|
},
|
|
"attach": {
|
|
"required": [
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"port": {
|
|
"type": "number",
|
|
"description": "%mono.attach.port.description%",
|
|
"default": 55555
|
|
},
|
|
"address": {
|
|
"type": "string",
|
|
"description": "%mono.attach.address.description%",
|
|
"default": "undefined"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|