Disclaimer - I am not a dev but have some python experience, mostly with pycharm ide and i believe it impacts my ability to understand ts\js debugging process in vscode. Also this is first time i attempt a js project.
I am making a custom node to wrap an existing js api wrapper and it works out well since i build it over existing codebase and I can debug my queries right in the node, more or less.
However i got stuck trying to implement a method to get list of folders and feed them to resourceLocator.
I need a tool to see what exactly happens when resourceLocator cqlls my method and what happens inside it.
I did my best to parse this forum and find something i can adopt, Tried to implement this env but no luck there.
It seems like I miss some basic node knowlege and\or project evolves faster then manuals.
tldr>
I am trying to debug method I call with resourceLocator and I do not understand how to do it.
I don’t think there is currently a solid way to debug a custom node outside of just adding a bunch of console.log() lines to your project then checking the n8n output.
What I do though when I make mine is I will make a new local branch of the n8n project, Make my node in packages/nodes-base then I can just run n8n from source and test my node then once I am happy with everything it is a quick copy / paste into a copy of the n8n node template, give it one more test like that and all is good.