I’d like to be able to step through my Motoko code and inspect variables using VSCode’s Debug Console instead of relying on debugPrint statements to observe flow. Is this currently possible?
What’s the recommended workflow for VSCode? I’ve been doing what is done in the quickstart and tutorials, which is to make changes to the code then run
dfx deploy and then run
dfx canister call ... to test a function or refresh a browser page at either
http://127.0.0.1:8000/candid?canisterId=... to test the frontend or candid interface.
I could set up launch configs in VSCode to automate those steps, but it wouldn’t allow me to add breakpoints and step through code.
I’m using the vscode-motoko extension.