--- alias: user-guide-automation-business-scenarios-building-structure-step-debug tags: - automation - connect iot description: "This documentation outlines options for managing and modifying answer data" --- # Debug | Name | Description | Mandatory | Type | Possible Values | Default Value | | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | -------------------------------------------------------------------------------------- | ------------- | | action | Action to perform with the answers
`None` - No action will be performed and the answers will remain untouched
`Replace` - Replace the existing with the provided ones
`MergeBefore` - Merge the debug answers before the existing ones (with same keys, the user answers will prevail)
`MergeAfter` - Merge the debug answers after the existing ones (with same keys, the debug answers will prevail)
`Merge` - Same as `MergeAfter`
`Append` - Same as `MergeAfter`
`Clear` - Clear all existing answers | N | `Enum` | `None`
`Replace`
`MergeBefore`
`MergeAfter`
`Merge`
`Append`
`Clear` | `None` | | answers | Set of answers to apply depending on the action | N | `Object` | | `{}` | ## Example snippet ```json { "type": "Debug", "settings:": { "action": "Replace", "answers": { "x": "y", "hello": "World", "number": 123 } }, "next": "End", } ```