From e3fc5515982afb5f513c0d731a2be5134faae58f Mon Sep 17 00:00:00 2001 From: zeekling Date: Sun, 20 Sep 2020 16:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0vs=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - .vscode/launch.json | 21 +++++++++++++++++++++ .vscode/tasks.json | 10 ++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index bea04f8..45c6e0a 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,6 @@ deps/lua/src/liblua.a .prerequisites *.dSYM Makefile.dep -.vscode/* .idea/* .settings .cproject diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..4e5a5ca --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + "version": "0.2.0", + "configurations": [ + + { + "name": "build", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/src/redis-server", + "args": [ + "redis.conf" + ], + "stopAtEntry": true, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "preLaunchTask": "shell" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..98dd9bd --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "shell", + "type": "shell", + "command": "/usr/bin/make" + } + ] +} \ No newline at end of file