From the default web preview (configured with command = ["npm" "run" "dev" "--" "--port" "$PORT" "--host" "0.0.0.0"]
), how do I find debugging logs that are supposedly from the server side?
Actually as I’m typing this, I did a grep in /tmp and found this log file “/tmp/monospace.log”. So looks like I can achieve this in the terminal with:
tail -F /tmp/monospace.log
Let me know if this is (or not) the recommended approach.