{ "name": "Retread", "displayName": "Retread", "description": "Retread is a debug adapter that allows you to replay log files in your IDE or editor of choice.", "publisher": "Pil Eghoff", "license": "GPL-2.0-or-later", "icon" : "./icon.png", "repository": { "type": "git", "url": "https://github.com/pileghoff/retread.git" }, "version": "0.0.3", "engines": { "vscode": "^1.79.0" }, "extensionKind": ["ui"], "categories": [ "Debuggers" ], "activationEvents": [ "onDebug" ], "main": "./out/main.js", "contributes": { "languages": [ { "id": "log-collection", "extensions": [ ".log", ".txt" ], "aliases": [ "Log files" ] } ], "breakpoints": [ { "language": "log-collection" } ], "debuggers": [ { "type": "retread", "label": "Retread: Log Replay Debugger", "program": "./out/retread", "configurationAttributes": { "launch": { "required": [ "log_file", "log_pattern", "include", "exclude" ], "properties": { "log_file": { "type": "string", "description": "Absolute path to a log file file.", "default": "${command:AskForLog}" } } } }, "initialConfigurations": [ { "type": "retread", "name": "Retread", "request": "launch", "log_file": "^\"\\${command:AskForLog}\"", "log_pattern": "\\\\[(?P\\\\w+) : (?P\\\\d+)\\\\] (?P.*)$", "include": ["./linux/**/*.h"], "exclude": [] } ], "configurationSnippets": [ { "label": "Retread: Launch", "description": "", "body": { "type": "retread", "name": "Retread", "request": "launch", "log_file": "^\"\\${command:AskForLog}\"", "log_pattern": "\\\\[(?P\\\\w+) : (?P\\\\d+)\\\\] (?P.*)$", "include": ["./linux/**/*.h"], "exclude": [] } } ], "variables": { "AskForLog": "extension.retread.selectLogFile" } } ] }, "scripts": { "vscode:prepublish": "npm run esbuild-base -- --minify", "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node", "esbuild": "npm run esbuild-base -- --sourcemap", "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", "test-compile": "tsc -p ./", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/mocha": "^10.0.1", "@types/node": "20.2.5", "@types/vscode": "^1.79.0", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", "@vscode/test-electron": "^2.3.2", "esbuild": "^0.18.14", "eslint": "^8.41.0", "glob": "^8.1.0", "mocha": "^10.2.0", "typescript": "^5.1.3" } }