Read the statement by Michael Teeuw here.
How to Debug with Visual Studio Code
-
@ViDiBi clock module doesn’t use a node_helper. not required.
I haven’t been able to use vscode to debug mm modules myself. the browser side still has to use the browser debugger (ctrl-shift-i toggle on/off)
see my sample module, https://github.com/sdetweil/SampleModule, which implements the mm module spec.
and uses the module/helper communications, config, timers, and selective display of content -
@sdetweil Thank you for your help :-) I’ll have a look at your module :-)
There’s one more thing I was trying: I made a breakpoint in the getDom area of a module and if won’t stop in debugging at that point :-( Is this a bug or just not possible?
-
@ViDiBi if you use the browser debugger it will. I have never been able to get the vscode debugger to work on this app
I REALLY want to be able to debug from my desktop system to the mm system, as I usually don’t have keyboard/mouse on mm system.
so far, the ability to use another browser to open mm webpage on my desktop chrome and use browser debugger has worked. but not all apps provide that remoting browser capability.
-
but the browser debugger doesn’t work on node_helpers, as they don’t run in browser of course
-
But the funny thing is, that within the node_helpers the breakpoint works but in the MMM-ModuleName.ja it doesn’t :-(
-
@ViDiBi yeh, you are debugging in process for the node_helper, and not for the browser…