Chrome Dev Tools + Developing in VSCode #482
-
I am trying to figure out my development workflow with anywidget in VSCode. Is there any way to access Chrome developer tools or inspect the javascript console while testing my *.ipynb in a VSCode environment? So far, I have only been able to do that when working in the jupyter lab. Overall, I find the VSCode developer experience much better than Jupyter Lab, and how to streamline my dev workflow. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey! Thanks for trying out anywidget. Yes, you should be about to open the Chrome developer tools via the command palette (Command + Shift + P for >, then search for "Developer: Toggle Developer Tools"). I usually recommend starting with the minimal JS template for VS Code development: |
Beta Was this translation helpful? Give feedback.
-
Amazing! That's very cool! I'll give that a try. Thanks for the swift response, @manzt :) |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for trying out anywidget. Yes, you should be about to open the Chrome developer tools via the command palette (Command + Shift + P for >, then search for "Developer: Toggle Developer Tools").
I usually recommend starting with the minimal JS template for VS Code development:
npm create anywidget@latest
. This will setup a few things and allow creating Python envs/etc with the VS Code UI (which should be a nice way to get started).