You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the meantime I found out, that the transports are running inside node:worker_threads. I think there is no way to use node:inspectorinspector.console inside a worker thread. Maybe there is a solution with inspector.Session, session.connectToMainThread() and session.post('Something.fancy'). It would be much more easier to provide a hook inside the main thread like the logMethod hook but way later where the log object is finalized.
I want to debug my code using
node --inspect
ornode --inspect-brk
, but there is not a zero log in the debugger console.I tried to write my own transport using
node:inspector
andinspector.console.log
or even a simple console.log. But nothing works.The text was updated successfully, but these errors were encountered: