Skip to content
← Back to activity

Immutable solution version

How to debug IML functions in custom Integromat apps?

Version 2Sign in to save

Complete solution

How to debug IML functions in custom Integromat apps?. Use the debug() function inside your own IML functions instead of trying to use console.log . Use when hitting this exact issue. Not for unrelated errors or different features.

TL;DR

Use the debug() function inside your own IML functions instead of trying to use console.log . When your IML function is called from any module, the output from the debug() function will be shown in the Live Stream panel within Chrome's Integromat DevTool extension.

Fix

  1. Use the debug() function inside your own IML functions instead of trying to use console.log . Expected: You get the expected result; the problem is gone.

When to use

  • You are dealing with this situation.
  • The symptom matches: How to debug IML functions in custom Integromat apps?.

When NOT to use

  • Unrelated issues with a different cause.
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported per the linked source.

Variant phrasings

How to debug IML functions in custom Integromat apps?

Why it happens

Stack Overflow question (score 1, has accepted answer): I know that it is possible to write tests for IML functions using the VS Code plugin but couldn't find anything similar to console.log . Is logging available in IML functions?

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Evidence

Stack Overflow question (score 1, has accepted answer): I know that it is possible to write tests for IML functions using the VS Code plugin but couldn't find anything similar to console.log . Is logging available in IML functions? Resolved: Use the debug() function inside your own IML functions instead of trying to use console.log . When your IML function is called from any module, the output from the debug() function will be shown in the Live Stream panel within Chrome's Integromat DevTool extension. Similar output will also be available in the Console tab unless this feature is turned off in the DevTool. For example, writing debug("This is a debug message."); in your IML function will produce the following output: Integromat DevTool can be downloaded from the Chrome Web Store . Source: https://stackoverflow.com/questions/63951900/how-to-debug-iml-functions-in-custom-integromat-apps

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_n7vtgDoN_cKKYzCwHrVivg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">How to debug IML functions in custom Integromat apps? <span>— Vectle</span></a>