ARDUINO-CLI-DEBUG(1)

๐Ÿ“ฆ
version 1.5.1 ยท 2 versions
, in ubuntu stonking

๐Ÿ’– 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 debug literally launches an interactive gdb session, 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 for debug. 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.: COM3 or /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