init
parents
Showing
.gitignore
0 → 100644
File added
.vscode/launch.json
0 → 100644
.vscode/settings.json
0 → 100644
.vscode/tasks.json
0 → 100644
build.js
0 → 100644
favicon.png
0 → 100644
2.99 KB
package.json
0 → 100644
| { | |||
| "name": "topjs-debugger", | |||
| "displayName": "TopJS Debugger", | |||
| "version": "0.0.1", | |||
| "publisher": "AbbyCin", | |||
| "description": "TopJS debugger extension for VS Code.", | |||
| "author": { | |||
| "name": "AbbyCin", | |||
| "email": "abbytsing@gmail.com" | |||
| }, | |||
| "license": "MIT", | |||
| "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://github.com/Microsoft/vscode-mock-debug.git" | |||
| }, | |||
| "bugs": { | |||
| "url": "https://github.com/Microsoft/vscode-mock-debug/issues" | |||
| }, | |||
| "scripts": { | |||
| "postinstall": "node ./node_modules/vscode/bin/install", | |||
| "build": "node ./build.js", | |||
| "package": "vsce package", | |||
| "publish": "vsce publish" | |||
| }, | |||
| "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", | |||
| "runtimeExecutable", | |||
| "port" | |||
| ], | |||
| "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" | |||
| } | |||
| } | |||
| ] | |||
| } | |||
| } |
src/debugAdapter.js
0 → 100644
src/extension.js
0 → 100644
src/topjsDebug.js
0 → 100644
This diff is collapsed.
src/topjsRuntime.js
0 → 100644
This diff is collapsed.