Skip to content

Commit

Permalink
Add standalone vscode extension
Browse files Browse the repository at this point in the history
This allows easier debugging, and potentially useful in future to use
debugger without language features etc.
  • Loading branch information
grahambates committed Jan 29, 2024
1 parent 532eeea commit 5794d8c
Show file tree
Hide file tree
Showing 7 changed files with 935 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ out
node_modules
.DS_Store
coverage
winuaebootlog.txt
winuaebootlog.txt
*.vsix
32 changes: 32 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"name": "Extension",
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "npm",
"request": "launch",
"type": "extensionHost"
},
{
"name": "Server",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/src/debugAdapter.ts",
"args": ["--server=4711"],
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "npm"
}
],
"compounds": [
{
"name": "Extension + Server",
"configurations": ["Extension", "Server"]
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"[m68k]": {
"editor.rulers": []
}
}
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm",
"detail": "node ./node_modules/vscode/bin/compile -watch -p ./"
}
]
}
Binary file added images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5794d8c

Please sign in to comment.