How can I configure Turbo Console Log to automatically wrap logged messages with JSON.stringify()
, such as to achieve the following output format?
Default Output (Example):
console.log("messages:", messages)
Desired Output:
console.log("messages:", JSON.stringify(messages, null, 2));
How can I configure Turbo Console Log to automatically wrap logged messages with JSON.stringify()
, such as to achieve the following output format?
Default Output (Example):
console.log("messages:", messages)
Desired Output:
console.log("messages:", JSON.stringify(messages, null, 2));
you can try and add the following to your settings.json
:
"turboConsoleLog.logMessage": "console.log(\"${variable}:\", JSON.stringify(${variable}, null, 2));"