在 Windows 上调试 Redis
目录
1. install wsl
open Microsoft Store, then search ubuntu and click to install it.
open terminal
 |  | 
2. setting clion
- open 
File | Settings | Build, Execution, Deployment | Toolchainsmenu. - add new toolchains and select wsl.
 
setting wsl configuration, you maybe install cmake, gcc, g++, gdb.
you must execute command
git config core.autocrlf inputin your terminal, because windows is CRLF, thengit clone.select wsl in
File | Settings | Build, Execution, Deployment | Makefile, because building redis by using makefile.login wsl and enter redis directory,
for example: cd /mnt/c/Users/ooooo/Development/code/Demo/redisexecute command
make, you maybe need to executecd src && ls | grep .sh | xargs chmod a+x

