如何在自定义 Integromat 应用程序中调试 IML 功能?

How to debug IML functions in custom Integromat apps?

我知道可以使用 VS Code 插件为 IML 函数编写测试,但找不到与 console.log 类似的东西。 IML 函数中是否可以使用日志记录?

在您自己的 IML 函数中使用 debug() 函数,而不是尝试使用 console.log。当您的 IML 函数被任何模块调用时,debug() 函数的输出将显示在 Chrome 的 Integromat DevTool 扩展中的实时流面板中。类似的输出也将在控制台选项卡中可用,除非在 DevTool 中关闭此功能。

例如,在您的 IML 函数中写入 debug("This is a debug message."); 将产生以下输出:

可以从 Chrome Web Store.

下载 Integromat DevTool