Summary
When trying to start debugging in VS Code (Run & Debug → Start Debugging), VS Code shows: “Command Start Debugging exists, but its preconditions are not currently met.” This prevents attaching to the device.
Steps Tried
- Ran
./fbt vscode_dist to generate .vscode/launch.json and tasks.
- Built firmware with
./fbt successfully; build/latest/firmware.elf exists.
- Installed
marus25.cortex-debug extension.
- Selected a configuration (Attach FW (ST-Link)), then pressed Start Debugging.
What I Expected
VS Code should start OpenOCD/GDB and attach to the device.
What Happens
VS Code refuses to start debugging with the “preconditions not met” message.
Environment
- macOS
- Repository: flipperzero-firmware (branch
dev)
Request
Can you suggest what precondition is missing for the VS Code debug session to start, or provide guidance on how to resolve this issue?
Summary
When trying to start debugging in VS Code (Run & Debug → Start Debugging), VS Code shows: “Command
Start Debuggingexists, but its preconditions are not currently met.” This prevents attaching to the device.Steps Tried
./fbt vscode_distto generate.vscode/launch.jsonand tasks../fbtsuccessfully;build/latest/firmware.elfexists.marus25.cortex-debugextension.What I Expected
VS Code should start OpenOCD/GDB and attach to the device.
What Happens
VS Code refuses to start debugging with the “preconditions not met” message.
Environment
dev)Request
Can you suggest what precondition is missing for the VS Code debug session to start, or provide guidance on how to resolve this issue?