preprocess
Print an Arduino sketch's preprocessed source to debug #define and conditional-compile issues without compiling it.
Instructions
Print the preprocessed sketch source (macros expanded, headers resolved) instead of compiling. Useful for debugging #define / conditional-compile issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | No | Board FQBN, e.g. 'arduino:avr:uno'. Omit if set via board-attach. | |
| sketchPath | Yes | Path to sketch folder or .ino file | |
| additionalUrls | No | Extra board-manager URLs | |
| buildProperties | No | Extra -D flags |