voila-embed icon indicating copy to clipboard operation
voila-embed copied to clipboard

how to implement debug feature in embed mode

Open havok2063 opened this issue 3 years ago • 0 comments

This PR, https://github.com/spacetelescope/jdaviz/pull/368, introduced a new debug feature that added a bug icon collecting and displaying errors. Is this feature accessible via voila-embed? I tried adding a ?debug suffix to the voila-url but that returned an error Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. Or does the juptyer-widget-component accept added query parameters as arguments?, e.g.

<jupyter-widget-embed
        voila-url="http://example.com:8000"
        notebook="notebook.ipynb"
        mount-id="my-widget"
        debug=True
></jupyter-widget-embed>

havok2063 avatar Apr 19 '21 16:04 havok2063