Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Dash app *inside* VS Code

Is there a way to make a Dash app that runs inside VS Code? Where I don’t have to go to localhost:port to see the UI?

Similar to GitHub - plotly/jupyterlab-dash: An Extension for the Interactive development of Dash apps in JupyterLab

There are extensions to use a browser inside VS Code, for example Live Server. You would still connect to localhost:port, but if the extension is enabled, VS Code will suggest to open the app in Live Preview or in the default browser.

I think you always have to connect to something for your app to work. Curious why you’d want it in vscode over just splitting screens with a browser?

Totally agree! Besides, the Live Preview browser does not have the same features for development as (say) Chrome or Firefox, but the option exists…