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