From 63845ca26ed49496adcd6dcd62d46e49dc7c39e8 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Mon, 30 Mar 2020 14:53:01 -0700 Subject: [PATCH] debugging support --- .ok | 1 + .vscode/launch.json | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.ok b/.ok index 78aef2f..5bea62b 100644 --- a/.ok +++ b/.ok @@ -1,2 +1,3 @@ install: cargo build --release; rm c:/dev/tools/neovide.* -ErrorAction SilentlyContinue; cp ./target/release/neovide.exe c:/dev/tools/neovide.exe check: cargo fmt --all -- --check +code: code . -g {0}:{1}:{2} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d96f406 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // 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": [ + { + "name": "(Windows) Launch", + "type": "cppvsdbg", + "request": "launch", + "program": "${workspaceRoot}/target/debug/neovide.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceRoot}", + "environment": [], + "externalConsole": true + }, + ] +} \ No newline at end of file