Skip to content

fortystory/xlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xlog

需要sqlite

need sqlite

vs code 配置调试

参考

安装扩展

安装Rust 安装codelldb

配置

点击运行 -> 打开/添加配置会打开.vscode/launch.json这个文件 在configurations中添加

{
    "type": "lldb",
    "request": "launch",
    "name": "Debug executable 'xlog'",
    "cargo": {
        "args": [
            "build",
            "--bin=xlog",
            "--package=xlog"
        ],
        "filter": {
            "name": "xlog",
            "kind": "bin"
        }
    },
    "args": [
        "input_str",
        "-t type"
    ],
    "cwd": "${workspaceFolder}"
}

args里面配置需要的参数(cargo.args这个是用来构建项目的参数,下面这个args是运行程序时添加的参数)

About

个人日志

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages