How to debug subworkflows?

It seems to be impossible to debug subworkflows the same way I am debugging the workflows?

QUESTIONHow can I debug the subworkflows step by step?

for the moment I am losing all the competitive advantage of the debug feature :frowning:

Describe the problem/error/question

  • hitting the ‘debug’ button on a workflow does nothing
  • I am triggering a WhatsApp webhook in the main workflow
  • then I want to spread the message to subworkflows

the MAIN wokflow check if the user is running a command starting with a /

What is the error message (if any)?

there is no error

Please share your workflow

The subworflow retrieves the message send by the WhatsApp user

Share the output returned by the last node

  • there is no output because I can’t debug the subworkflow :frowning:

Information on your n8n setup

instance information

Debug info

core

  • n8nVersion: 1.85.4
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.3
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64; rv:137.0) gecko/20100101 firefox/137.0
  • isTouchDevice: false

Generated at: 2025-04-06T21:53:37.851Z

I usually put another “test wrapper” flow with a manual trigger, containing test/stub data, in the same workflow as the sub-workflow that does nothing but call the sub-workflow.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.