Function nodes are a great way to create custom logic. I have run into situations where some code works perfectly outside of the Function node and even completes in the workflow, but not have the desired result.
I have looked to see whether there are any articles on debugging Function nodes, but nothing came up. Would be great if anyone can point me to logs or debug steps etc.
Thank you for reply. I’m using the docker instance together with the tunnel and when i do a console.log nothing appears. I will give it another go tomorrow And validate whether that is correct.
I tried it as well and console.log does work. I think the issue I get is that it never reaches that line in the application. There is no obvious reason why it wouldn’t do that because the code works standalone outside of the environment. Do you have any suggestions whether there are other logs that I can look at to understand why it never reaches that part of the code ie. is there a way to debug the functions is VSC?