Put example VSCode configs in misc/.vscode [ci skip]
They are needed very often but it's hard to remember. I thought it'd be useful to just copy that to /.vscode and edit that. Usage: cp -r misc/.vscode .vscode Don't symlink it because you'd edit it but not want to commit it.
This commit is contained in:
parent
e50f102489
commit
dff03149a0
1
.gitignore
vendored
1
.gitignore
vendored
@ -50,6 +50,7 @@ y.tab.c
|
||||
*.gcno
|
||||
*.gcov
|
||||
*.vscode
|
||||
!misc/.vscode
|
||||
lcov*.info
|
||||
|
||||
# /
|
||||
|
13
misc/.vscode/launch.json
vendored
Normal file
13
misc/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"name": "Run ruby",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/ruby",
|
||||
"args": ["-e", "p 1"],
|
||||
"preLaunchTask": "${defaultBuildTask}"
|
||||
}
|
||||
]
|
||||
}
|
5
misc/.vscode/settings.json
vendored
Normal file
5
misc/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rust-analyzer.cargo.features": [
|
||||
"disasm",
|
||||
],
|
||||
}
|
14
misc/.vscode/tasks.json
vendored
Normal file
14
misc/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"type": "shell",
|
||||
"command": "make -j",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -4,3 +4,4 @@ rb_optparse.zsh zsh completion script
|
||||
ruby-style.el Ruby's C/C++ mode style for emacs
|
||||
lldb_cruby.py LLDB port of debug utility
|
||||
test_lldb_cruby.rb test file for LLDB port
|
||||
.vscode example VSCode config to debug Ruby
|
||||
|
Loading…
x
Reference in New Issue
Block a user