命令行用vscode 命令行cargo new greetingcd ./greeting cargo build cargo run 用vscode在greeting文件夹下放.vscode文件夹并打开该文件夹设置中打开allow breakpoints everywhere