Hi folks,
Does anybody else has recently troubles to debug the client side (config screen) of his custom nodes, using Chrome developer tools (version 78.0.3904.97 on Windows 10)?
When developing a custom node, I debug my config screens by adding a simple 'debugger' statement:
oneditprepare: function() {
debugger;
...
}
However for some reason this doesn't work anymore
When my developer tools window is open, nothing happens anymore when a node has been double-clicked. Which means the config screens aren't displayed anymore... When I close my developer tools window, everything works fine (but then of course I cannot debug anything).
The only thing I can see is the following error (that occurs every time I open the config screen):
Following this Stackoverflow discussion, it seems to me that the next code snippet:
d3.event && d3.event.preventDefault()
Should be rewritten as:
d3.event && d3.event.cancelable && d3.event.preventDefault()
But every time I try to update this code, my Chrome developer tools crashes. So I have no idea whether this is the problem/solution
Any tips? Thanks !
Bart