ARDUINO-CLI-DEBUG(1)
๐ arduino-cli-debug โ Debug Arduino sketches ๐
okay bestie, welcome to ARDUINO COMMAND LINE MANUAL(1), section 1, and this is the glow-up page for arduino-cli-debug. no cap, this is where you debug your Arduino sketches and feel like a main character while doing it. ๐ฆ
โจ SYNOPSIS โจ
arduino-cli debug [flags]
๐ธ DESCRIPTION ๐ธ
Debug Arduino sketches. and like, not just "stare at it and hope" debug โ this command opens an interactive gdb session. it's giving detective era, it's giving breakpoints and vibes. ๐ฅ
heads up babes:arduino-cli debugliterally launches an interactivegdbsession, so your terminal is about to become the whole entire personality. ๐
๐ OPTIONS ๐
--board-options=[]โ a list of board options, separated by commas. or fr fr you can just pass it multiple times if you've got multiple options. lowkey flexible. โจ--build-path=""โ the directory that contains the binaries for debug. the build goes here, the debugging happens here, it's a whole thing. ๐--debug-property=[]โ override a debug property with a custom value you pick. can be used multiple times for multiple properties, so go off. ๐--discovery-timeout=1sโ max time to wait for port discovery. like e.g.:30s,1m. patience is a virtue but also there's a limit. โณ-b,--fqbn=""โ Fully Qualified Board Name, e.g.:arduino:avr:uno. yes bestie, the whole entire government name. ๐-h,--help[=false]โ help fordebug. the classic. the icon. press it when you're lost. ๐-I,--info[=false]โ Show metadata about the debug session instead of starting the debugger. so it's the trailer, not the movie. no gdb gets launched, you just get the tea. โ--input-dir=""โ directory containing binaries for debug.--interpreter="console"โ the debug interpreter, e.g.:console,mi,mi1,mi2,mi3. pick your fighter. ๐ฎ-p,--port=""โ Upload port address, e.g.:COM3or/dev/ttyACM2. it's the lil address where your board lives. ๐-m,--profile=""โ Sketch profile to use.-P,--programmer=""โ Programmer to use, e.g:atmel_ice. slay, a named programmer. ๐-l,--protocol=""โ Upload port protocol, e.g:serial.
๐ง OPTIONS INHERITED FROM PARENT COMMANDS ๐ง
these ones aren't even from this command, they're the family heirlooms. still yours to use tho. ๐
--additional-urls=[]โ Comma-separated list of additional URLs for the Boards Manager.--config-dir=""โ Sets the default data directory (Arduino CLI will look for configuration file in this directory).--config-file=""โ The custom config file (if not specified the default will be used).--json[=false]โ Print the output in JSON format. for when you want your data machine-readable and your soul unbothered. ๐ค--log[=false]โ Print the logs on the standard output.--log-file=""โ Path to the file where logs will be written.--log-format="text"โ The output format for the logs, can be:text,json.--log-level="info"โ Messages with this level and above will be logged. Valid levels are:trace,debug,info,warn,error,fatal,panic. that's the whole ladder, climb it. ๐ช--no-color[=false]โ Disable colored output. (why would you. but okay. no judgment.) ๐
๐ EXAMPLE ๐
here's the vibe, copy-paste ready, character for character:
debian/build/bin/arduino-cli debug -b arduino:samd:mkr1000 -P atmel_ice /home/user/Arduino/MySketch
board? arduino:samd:mkr1000. programmer? atmel_ice. sketch? /home/user/Arduino/MySketch. ate. ๐
๐ซถ SEE ALSO ๐ซถ
go read your siblings too, they're iconic in their own right. โจ
๐ HISTORY ๐
15-Aug-2026 โ Auto generated by spf13/cobra.
okay that's the whole page bestie!! ๐ this was Auto generated by spf13/cobra, dated Aug 2026, and it's page 1 of the ARDUINO COMMAND LINE MANUAL(1). now go forth and debug, you absolute legend. โญ๐ฆ no cap, you've got this. ๐
๐ฆ where this page comes from
- ubuntu stonking: arduino-cli 1.5.1-4 ยท GPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms