diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..efc793e32 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[profile.dev] +# Preserve file and line information for backtraces while avoiding the cost of +# generating per-variable debug information. Override with +# CARGO_PROFILE_DEV_DEBUG=2 when inspecting locals in a native debugger. +debug = "line-tables-only" diff --git a/.gitignore b/.gitignore index e2614571d..c847af6fc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,8 @@ dist/ # Editor / IDE .idea/ -.vscode/ +.vscode/* +!.vscode/settings.json *.swp *.swo *~ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..c39504ebc --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "rust-analyzer.cargo.targetDir": true +}