Support raw `console.trace` in wrapped mode
pedrolamas opened this issue · comments
By default, console.trace()
will also output the javascript stack trace, but once we wrapConsole()
, it stops doing that!
Here's a sample codesandbox showing the problem: https://codesandbox.io/s/console-trace-missing-stack-trace-6jh8s7?file=/src/index.js
Just open the above link on the browser, press F12, and check the output on the console:
On the above, you can see the stack trace just under the "unwrapped", but it is missing from below the "wrapped" call