development
claude/smbcloud-github-app-k9641p
development
feature/apps
feature/build-release
feature/ci-docs
feature/ci-ruby-gems
feature/cicd
feature/completion
feature/dist-nuget
feature/fix-ci-sdk-pypi-rubygem
feature/fix-clippy-on-stable-channel
feature/fix-deployment-script
feature/github-email
feature/gresiq-v1
feature/project-new-structure
feature/rsync-deploy
feature/ruby-runner
feature/sdk-npm
feature/sdk-workflows
feature/smbcloud-cli-release-npm
feature/smbcloud-deploy
feature/wasm
main
release/v0.7.4
| 1 | # VSCode Debugging |
| 2 | |
| 3 | To debug the app on VSCode, use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) and [cargo debugger](https://github.com/jkelleyrtp/cargo-debugger). |
| 4 | |
| 5 | ```bash |
| 6 | $ cargo debugger --package smbcloud-cli -- account signup |
| 7 | ``` |
| 8 | |
| 9 | ## Environment |
| 10 | |
| 11 | Default environment is production. To run against dev environemt: |
| 12 | |
| 13 | ```bash |
| 14 | $ cargo run -p smbcloud-cli -- -e dev account login |
| 15 | ``` |
| 16 | |
| 17 | Example debug the dev environment: |
| 18 | |
| 19 | ```bash |
| 20 | $ cargo debugger --package smbcloud-cli -- -e dev account login |
| 21 | ``` |
| 22 | |
| 23 | ## Run from different directory |
| 24 | |
| 25 | To run from a different directory, use the `--manifest-path` flag and `--package` flag. : |
| 26 | |
| 27 | ```bash |
| 28 | $ cargo debugger --manifest-path .../path/to/smbcloud-cli/Cargo.toml --package smbcloud-cli -- -e dev account login |
| 29 | ``` |