Skip to content
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

Python IDE on EOX Hub #71

Open
jetschny opened this issue Aug 13, 2024 · 1 comment
Open

Python IDE on EOX Hub #71

jetschny opened this issue Aug 13, 2024 · 1 comment
Assignees

Comments

@jetschny
Copy link

For some users (like me), having a python IDE for execution & debugging as well as exploring allocating variable is essential. This applies mostly to scripting of python files (not notebooks). The Lab launcher offers the community edition of Visual Studio (VS Code icon) which allows to debug files. However, I don't see any allocated variables (when running a simple script with e.g. "a=7").

There is another icon "Python file" under the Launcher category "Other" but this only opens a new text windows. Executing python code works after "Creating a console for Editor" but debugging does not appear to be possible there (or exploring variable content).

image

@jetschny
Copy link
Author

jetschny commented Aug 30, 2024

I can add the following. when running a python script (*.py) in VS code, one can either [in theory] see variable content through the debugging run of a script

grafik

or by executing the script in the interactive window (right click within script window)

grafik.

in both cases I should see the content of allocated variables. the interactive window is unpractial as it has to be restarted from the script every time, i.e. the interactive window does not refresh with changes in the script. the debugging option is slower than standard execution but should allow simple rerun of changes of the script. however under the EOX Lab VS code application, only the interactive window gives you the variables (center bottomg panel of the image below), the debugging variable window (left panel in image below) is empty (but it works on local system)

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants