I am trying to debug a node running on linux (Windows WSL) and set my IDE on windows. I've configured remove node debugging with the right node name and cookie and set the breakpoint. I verified connectivity between nodes (net_adm:ping()).
I executed the code on the remote node but it did not trigger the breakpoint in the debugger. I then tried to use the native debugger in erlang and set the break point on the same line. Once I executed, my breakpoint in Intellij weirdly triggered.
I think we are failing to use the interpreter module (i) to set the break point on the remote node but when the debugger is executing on the actual node, it seems to take.
Question - the debugger module - is it loaded and executed on the remote node? if so, how can I debug its execution? is there a log ?
Hi, thanks for the question, I think that the debugger module is loaded on the local node and it's a root cause. Is there any chance to have a tiny repro with docker, I'm on mac.
I am trying to debug a node running on linux (Windows WSL) and set my IDE on windows. I've configured remove node debugging with the right node name and cookie and set the breakpoint. I verified connectivity between nodes (net_adm:ping()).
I executed the code on the remote node but it did not trigger the breakpoint in the debugger. I then tried to use the native debugger in erlang and set the break point on the same line. Once I executed, my breakpoint in Intellij weirdly triggered.
I think we are failing to use the interpreter module (i) to set the break point on the remote node but when the debugger is executing on the actual node, it seems to take.
Question - the debugger module - is it loaded and executed on the remote node? if so, how can I debug its execution? is there a log ?