123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- {
- "name": "topjs-debugger",
- "displayName": "TopJS Debugger",
- "version": "0.0.5",
- "publisher": "AbbyCin",
- "description": "TopJS debugger extension for VS Code.",
- "author": {
- "name": "AbbyCin",
- "email": "abbytsing@gmail.com"
- },
- "license": "ISC",
- "keywords": [
- "multi-root ready"
- ],
- "engines": {
- "vscode": "^1.30.0",
- "node": "^8.9.3"
- },
- "icon": "favicon.png",
- "categories": [
- "Debuggers"
- ],
- "private": true,
- "repository": {
- "type": "git",
- "url": "https://git.isliberty.me/abbycin/topjs-debugger"
- },
- "bugs": {
- "url": "https://git.isliberty.me/abbycin/topjs-debugger/issues"
- },
- "homepage": "https://git.isliberty.me/abbycin/topjs-debugger/src/master/README.md",
- "scripts": {
- "postinstall": "node ./node_modules/vscode/bin/install",
- "build": "node ./build.js",
- "package": "vsce package --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/",
- "unpublish": "vsce unpublish",
- "publish": "vsce publish --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/"
- },
- "dependencies": {
- "await-notify": "^1.0.1",
- "command-exists": "^1.2.8",
- "vscode-debugadapter": "^1.33.0"
- },
- "devDependencies": {
- "@types/node": "8.9.3",
- "vscode": "1.1.21",
- "vscode-debugadapter-testsupport": "1.33.0",
- "vsce": "1.53.2",
- "ncp": "2.0.0"
- },
- "main": "./src/extension",
- "activationEvents": [
- "onDebug",
- "onCommand:extension.topjs-debugger.getProgramPath"
- ],
- "contributes": {
- "breakpoints": [
- {
- "language": "javascript"
- }
- ],
- "debuggers": [
- {
- "type": "topjs",
- "label": "TopJS Debugger",
- "program": "./src/debugAdapter.js",
- "runtime": "node",
- "configurationAttributes": {
- "launch": {
- "required": [
- "program"
- ],
- "properties": {
- "program": {
- "type": "string",
- "description": "Absolute path to a javascript file.",
- "default": "${workspaceFolder}/${command:getProgramPath}"
- },
- "port": {
- "type": "number",
- "descrition": "Port for debugger backend.",
- "default": 30992
- },
- "runtimeExecutable": {
- "type": "string",
- "default": "topjs3"
- }
- }
- }
- },
- "initialConfigurations": [
- {
- "type": "topjs",
- "request": "launch",
- "name": "Launch Debugger",
- "program": "${workspaceFolder}/${command:getProgramPath}"
- }
- ],
- "configurationSnippets": [
- {
- "label": "TopJS Debug: Launch",
- "description": "A new configuration for 'debugging' a user selected javascript file.",
- "body": {
- "type": "topjs",
- "request": "launch",
- "name": "Launch Debugger2",
- "program": "^\"\\${workspaceFolder}/\\${command:getProgramPath}\""
- }
- }
- ],
- "variables": {
- "getProgramPath": "extension.topjs-debugger.getProgramPath"
- }
- }
- ]
- }
- }
|