How to run n8n in debug mode with VSCode?

In this case it is probably easier to not start the workflow in a sub-process and instead run it in the main process by setting the environment variable:

export EXECUTIONS_PROCESS=main
2 Likes