How do I enable debug logging? #628
-
Hi, I'm trying to get solid to run in IE11 because a colleague of mine wrote something in solid and left and now it's my job to get this finished and deployed, and we need IE11 support. Before I start rewriting without solid, I thought giving making it run in IE11 a try would be a good idea. I have managed to transpile solid and brought a boatload of polyfills - it even runs successfully in firefox 48 now - but it just silently fails in IE11. So I wanted to ask, how do I enable debug logging of solid so that I can see where things go wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
There is a dev mode. We have dev outputs you can alias. One way is through node export conditions but failing that alias solid-js, solid-js/web, and solid-js/store to "solid-js/dist/dev.js", "solid-js/web/dist/dev.js", "solid-js/store/dist/dev.js" |
Beta Was this translation helpful? Give feedback.
-
It's not impossible with transpilation, merely impossible with polyfills only. |
Beta Was this translation helpful? Give feedback.
There is a dev mode. We have dev outputs you can alias. One way is through node export conditions but failing that alias solid-js, solid-js/web, and solid-js/store to "solid-js/dist/dev.js", "solid-js/web/dist/dev.js", "solid-js/store/dist/dev.js"