Rust lib clap demo error

cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running target\debug\quicktool.exe
quicktool 0.1.0

USAGE:
quicktool.exe

OPTIONS:
-h, --help Print help information
-V, --version Print version information

SUBCOMMANDS:
add Adds files to myapp
help Print this message or the help of the given subcommand(s)
error: process didn't exit successfully: target\debug\quicktool.exe (exit code: 2)

There is a Error, But it just a simple Demo Code.

use clap::{arg, command, Command};

fn main() {

let matches = command!() // requires `cargo` feature
    .propagate_version(true)
    .subcommand_required(true)
    .arg_required_else_help(true)
    .subcommand(
        Command::new("add")
            .about("Adds files to myapp")
            .arg(arg!([NAME])),
    )
    .get_matches();

match matches.subcommand() {
    Some(("add", sub_matches)) => println!(
        "'myapp add' was used, name is: {:?}",
        sub_matches.get_one::<String>("NAME")
    ),
    _ => unreachable!("Exhausted list of subcommands and subcommand_required prevents `None`"),
}

}

how to solve this problem. it make my debugger doesn't work correctly.

My toml content:
[package]
name = "quicktool"
version = "0.1.0"
edition = "2021"

[dependencies]
clap = { version = "3.2.20", features = ["cargo"] }

Works perfectly well on ubuntu:

$ cargo r -q
quicktool 0.1.0

USAGE:
    quicktool <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    add     Adds files to myapp
    help    Print this message or the help of the given subcommand(s)

$ cargo r -q -- add 1234
'myapp add' was used, name is: Some("1234")