Replies: 1 comment
-
I have seen now I can attach the chrome debugger and found the commandline arg to stop the execution until debugger is present. But as far as I can see the server side plugins seems to run in another 'process' (or thread) where my debugger is not attached. So the question is: how can I attach the debugger to the other server module where the plugins are present?
|
Beta Was this translation helpful? Give feedback.
-
I am looking for problems in the mathjax plugin and want to debug the server side. I am running the test EP server for now on WIN7/32. I have set loglevel to "DEBUG" and have integrated node debugging into "start.bat":
[node --inspect=0.0.0.0:9229 node_modules\ep_etherpad-lite\node\server.js]
It seems that I am able to attach to the EP server process using "chrome://inspect", it shows the process, and I am able to open a inspector window. It seems also that "Visual Studio Code" is able to connect, it shows messages and loaded JS files if "start.bat" is called from the VS shell.
But I can not
Please tell me how I can start examining the server process using debug tools.
Thank You and all the Best,
Volker Bijewitz
Beta Was this translation helpful? Give feedback.
All reactions