mui-toolpad
mui-toolpad copied to clipboard
Custom components: add a console for debugging
Just like in the function query editor, we could add a browser console in the bottom right to help debugging custom components.

benchmark:
As per initial investigation done in https://github.com/mui/mui-toolpad/pull/711 looks like it's not a straight forward thing to do.
Seems that, we need to refactor current custom component editor so that the code gets evaluated in an isolated iframe context. Once that's done we should be able to hook into console.*
calls and pass them to our Console
component.
Let's keep this issue open and decide on a priority among other things for now
I guess we can close this? @Janpot