-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command line option to connect to an existing kernel #23130
Comments
Hi @Social-Mean sorry for the late response and thank you for the feedback! I think currently there is not a way to do that, sorry! However, I'm not sure if this is something that could be eventually achieved with the new remote development logic that has been worked on Spyder 6 🤔 Just in case, is the use case described here something that could be eventually covered by the remote development work @ccordoba12 ? |
Hi @dalthviz thank you for your comment. I think it is necessary for me to tell the background of my raising this issue here.
I'm not sure if this method is good or reasonable, after all, I'm not an expert on computers. This is just a method I came up with recently. If anyone has relevant experience in this area, please feel free to give comments and suggestions. |
By the way, it seems to me that the remote development feature in Spyder 6 (via SSH) is connecting Spyder to a remote server kernel. But my software is a locally running software. I'm not sure if remote development works for me. |
@Social-Mean, thanks for providing a good motivation for your use case. I think this is something we could add support for, but only if you're willing to give us a hand with the implementation. This is crude description of what you'd need to do:
|
Can I connect to an existing kernel when I start Spyder?
Now, Spyder can connect to an existing kernel by clicking the menu icon of the ipython terminal, and selecting
connect to existing ipython kernel
, and inputting the JSON file name of the kernel.But this needs manually operation. I need a way to connect to the existing kernel through the command line or through python code.
For example,
by command line options.
Is there a method to meet my needs, and if not, will it be supported in the future?
The text was updated successfully, but these errors were encountered: