{ "name": "android-dev-ext", "displayName": "Android", "description": "Android debugging support for VS Code", "version": "0.6.2", "publisher": "adelphes", "preview": true, "license": "MIT", "engines": { "vscode": "^1.8.0" }, "categories": [ "Debuggers" ], "icon": "images/ade.png", "galleryBanner": { "color": "#5c2d91", "theme": "dark" }, "activationEvents": [ "onCommand:android-dev-ext.view_logcat" ], "repository": { "type": "git", "url": "https://github.com/adelphes/android-dev-ext" }, "main": "./extension", "contributes": { "commands": [ { "command": "android-dev-ext.view_logcat", "title": "Android: View Logcat" } ], "breakpoints": [ { "language": "java" }, { "language": "kotlin" } ], "debuggers": [ { "type": "android", "label": "Android", "program": "./src/debugMain.js", "runtime": "node", "configurationAttributes": { "launch": { "required": [ "appSrcRoot", "apkFile", "adbPort" ], "properties": { "appSrcRoot": { "type": "string", "description": "Location of the App source files. This value must point to the root of your App source tree (containing AndroidManifest.xml)", "default": "${workspaceRoot}/app/src/main" }, "apkFile": { "type": "string", "description": "Fully qualified path to the built APK (Android Application Package)", "default": "${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk" }, "adbPort": { "type": "integer", "description": "Port number to connect to the local ADB (Android Debug Bridge) instance. Default: 5037", "default": 5037 }, "autoStartADB": { "type": "boolean", "description": "Automatically launch 'adb start-server' if not already started. Default: true", "default": true }, "callStackDisplaySize": { "type": "integer", "description": "Number of entries to display in call stack views (for locations outside of the project source). 0 shows the entire call stack. Default: 1", "default": 1 }, "logcatPort": { "type": "integer", "description": "Port number to use for the internal logcat websocket link. Changes to this value only apply when the extension is restarted. Default: 7038", "default": 7038 }, "staleBuild": { "type": "string", "description": "Launch behaviour if source files have been saved after the APK was built. One of: [\"ignore\" \"warn\" \"stop\"]. Default: \"warn\"", "default": "warn" }, "targetDevice": { "type": "string", "description": "Target Device ID (as indicated by 'adb devices'). Use this to specify which device is used for deployment when multiple devices are connected.", "default": "" }, "trace": { "type": "boolean", "description": "Set to true to output debugging logs for diagnostics", "default": "false" } } } }, "initialConfigurations": [ { "type": "android", "name": "Android", "request": "launch", "appSrcRoot": "${workspaceRoot}/app/src/main", "apkFile": "${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk", "adbPort": 5037 } ], "configurationSnippets": [ { "label": "Android: Launch Configuration", "description": "A new configuration for launching an Android app debugging session", "body": { "type": "android", "request": "launch", "name": "${2:Launch App}", "appSrcRoot": "^\"\\${workspaceRoot}/app/src/main\"", "apkFile": "^\"\\${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk\"", "adbPort": 5037 } } ], "variables": {} } ] }, "scripts": { "prepare": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test" }, "dependencies": { "long": "^4.0.0", "uuid": "^3.3.2", "vscode-debugadapter": "^1.32.0", "vscode-debugprotocol": "^1.32.0", "ws": "^1.1.1", "xmldom": "^0.1.27", "xpath": "^0.0.27" }, "devDependencies": { "@types/mocha": "^5.2.5", "@types/node": "^10.12.5", "eslint": "^5.9.0", "mocha": "^5.2.0", "typescript": "^3.1.6", "vscode": "^1.1.26" } }