See logs when using unstable_dev?

When using unstable_dev, I can't seem to find any docs on how to see / inspect logs or errors coming from the worker or durable objects. How can I see the logs?
2 Replies
danielsundq
danielsundq10mo ago
Have you tried passing logLevel in the options object? unstable_dev(script, { logLevel: 'debug' }) Loglevel works the same as the CLI --log-level parameter.
jman
jman10mo ago
Yeah, I eventually found log level of debug was the only way!