调试助手#
使用调试助手节点触发不同类型的错误或生成随机数据集,以帮助测试n8n工作流。
操作#
通过选择分类来定义操作:
- 不执行任何操作: 什么都不做。
- 抛出错误: 使用指定的类型和消息抛出错误。
- Out Of Memory: Generate a specific memory size to simulate being out of memory.
- 生成随机数据: 以选定格式生成一些随机数据。
节点参数#
节点参数取决于所选的类别。不执行任何操作类别没有其他参数。
抛出错误#
- Error Type: Select the type of error to throw. Choose from:
- NodeApiError
- NodeOperationError
- 错误
- 错误信息: 输入要抛出的错误消息。
Out Of Memory#
The Out of Memory Category adds one parameter, the Memory Size to Generate. Enter the approximate amount of memory to generate.
生成随机数据#
- Data Type: Choose the type of random data you'd like to generate. Options include:
- 地址
- 坐标
- 信用卡
- 电子邮件
- IPv4
- IPv6
- MAC
- Nanoids: If you select this data type, you'll also need to enter:
- Nanoid字母表: 生成器将用于生成nanoid的字母表。
- Nanoid长度: 每个nanoid的长度。
- URL
- 用户数据
- UUID
- 版本
- 种子: 如果您想使用特定种子生成数据,请在此输入。这能确保数据生成的一致性。如果您希望使用随机数据生成,请将此字段留空。
- 生成项目数量: 输入您想要生成的随机项目数量。
- 输出为单一数组: 是否将数据生成为单一数组(开启)或多个项目(关闭)。