modal-labs / modal-client

Python client library for Modal
https://modal.com/docs
Apache License 2.0
284 stars 38 forks source link

Modal Interactive in Vscode Desktop App #2476

Open eitanturok opened 2 weeks ago

eitanturok commented 2 weeks ago

Hello. Big fan of modal here!

I was wondering what the best way is to run modal interactively in the vscode desktop app.

The command

modal launch vscode

launches vscode in the browser. How can I run this in the vscode desktop app instead of the browser?

The command modal launch vscode connects to vscode via http (source). Is there some way to use http to connect to the vscode desktop app rather than the in-browser vscode? I'm not to familiar with http...

I also looked at the developing and debugging docs but this does not mention anything about modal launch.

Thanks!

mwaskom commented 1 week ago

Hi — you might be able to use vscode remote development via our tunnels feature, for this analogous to the Jupyter example in the docs. Let us know if you get it working!

mwaskom commented 1 week ago

PS feel free to reach out on modal.com/slack, we're typically much faster to respond there!