Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 789 Bytes

File metadata and controls

29 lines (19 loc) · 789 Bytes

VSCode Debugging

To debug the app on VSCode, use CodeLLDB and cargo debugger.

$ cargo debugger --package smbcloud-cli -- account signup

Environment

Default environment is production. To run against dev environemt:

$ cargo run -p smbcloud-cli -- -e dev account login

Example debug the dev environment:

$ cargo debugger --package smbcloud-cli -- -e dev account login

Run from different directory

To run from a different directory, use the --manifest-path flag and --package flag. :

$ cargo debugger --manifest-path .../path/to/smbcloud-cli/Cargo.toml --package smbcloud-cli -- -e dev account login