mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
fix: update vscode debug config
This commit is contained in:
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"rust-lang.rust",
|
||||
"matklad.rust-analyzer",
|
||||
"vadimcn.vscode-lldb",
|
||||
"serayuzgur.crates",
|
||||
"editorconfig.editorconfig",
|
||||
|
||||
94
.vscode/launch.json
vendored
94
.vscode/launch.json
vendored
@@ -4,6 +4,49 @@
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug unit tests in library 'blockstack_lib'",
|
||||
"cargo": {
|
||||
"args": [
|
||||
"test",
|
||||
"--no-run",
|
||||
"--lib",
|
||||
"--package=blockstack-core"
|
||||
],
|
||||
"filter": {
|
||||
"name": "blockstack_lib",
|
||||
"kind": "lib"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable 'blockstack-core' testnet",
|
||||
"cargo": {
|
||||
"args": [
|
||||
"build",
|
||||
"--bin=blockstack-core",
|
||||
"--package=blockstack-core"
|
||||
],
|
||||
"filter": {
|
||||
"name": "blockstack-core",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"testnet",
|
||||
"${workspaceFolder}/Stacks.toml"
|
||||
],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "full",
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
@@ -20,8 +63,7 @@
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"terminal": "integrated"
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
@@ -40,8 +82,7 @@
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"terminal": "integrated"
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
@@ -59,8 +100,7 @@
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"terminal": "integrated"
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
@@ -78,9 +118,45 @@
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": ["vm"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"terminal": "integrated"
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable 'blockstack-cli'",
|
||||
"cargo": {
|
||||
"args": [
|
||||
"build",
|
||||
"--bin=blockstack-cli",
|
||||
"--package=blockstack-core"
|
||||
],
|
||||
"filter": {
|
||||
"name": "blockstack-cli",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug unit tests in executable 'blockstack-cli'",
|
||||
"cargo": {
|
||||
"args": [
|
||||
"test",
|
||||
"--no-run",
|
||||
"--bin=blockstack-cli",
|
||||
"--package=blockstack-core"
|
||||
],
|
||||
"filter": {
|
||||
"name": "blockstack-cli",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"lldb.adapterType": "native",
|
||||
"lldb.launch.sourceLanguages": ["rust"],
|
||||
"rust-client.updateOnStartup": true,
|
||||
"rust.all_features": true
|
||||
"lldb.launch.sourceLanguages": ["rust"]
|
||||
}
|
||||
43
.vscode/tasks.json
vendored
43
.vscode/tasks.json
vendored
@@ -1,43 +0,0 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "cargo: build",
|
||||
"type": "shell",
|
||||
"command": "cargo build",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "cargo: rebuild",
|
||||
"type": "shell",
|
||||
"command": "cargo clean && cargo build",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "cargo: test all",
|
||||
"type": "shell",
|
||||
"command": "cargo test",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "cargo: test clarity-vm",
|
||||
"type": "shell",
|
||||
"command": "cargo test vm",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user