Test Variable Viewer in the web
See original GitHub issueRefs: #9664
Complexity: 4
Requirements
- Install prerelease jupyter extension into http://insiders.vscode.dev
- Have a python environment that you can run jupyter from. (https://jupyter.org/install)
- Be familiar with jupyter notebooks
Set up
- Go to a command prompt where you’ve installed jupyter into a python environment
- Switch to a folder you’re using for testing
- Run jupyter with the following command
jupyter notebook --no-browser --NotebookApp.allow_origin=*
Test Steps
- Open insiders.vscode.dev and create a new python file
- Add variables in the python file (Try adding some, and then in another run try adding many different variables).
- Connet to the jupyter server:
- Run the ‘Jupyter: Specify jupyter server for connections’ command, or use the link from the IW’s info message
- Pick ‘Existing’
- Paste the URL from the jupyter notebook server you started in step 3 of the setup
- Run the command
Jupyter: Focus on Variables View
. - Run the file with
Juptyer: Run Current File in Interactive Window
. - See that the variables in the Variable View matched the expectations.
Try again with a .ipynb
file:
- Open insiders.vscode.dev and create a new
.ipynb
file. - Add variables in the python file (Try adding some, and then in another run try adding many different variables).
- Connet to the jupyter server:
- Run the ‘Jupyter: Specify jupyter server for connections’ command, or use the link from the IW’s info message
- Pick ‘Existing’
- Paste the URL from the jupyter notebook server you started in step 3 of the setup
- Run the command
Jupyter: Focus on Variables View
. - Run the cells on your file.
- See that the variables in the Variable View matched the expectations.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
7 Ways to Look at the Values of Variables While Debugging in ...
The most commonly used way to look at variables is the DataTip. When stopped in the debugger hover the mouse cursor over the...
Read more >Watch variables in Sources - Chrome Developers
The Sources panel provides the ability to watch variables within your application. This is located in the watch section of the debugger sidebar....
Read more >Using Variables in Web Tests | TestComplete Basics - YouTube
Learn how to create variables for keyword tests, projects, and project suites, and how to use them to replace hard-coded values in your ......
Read more >Defining a variable to run a test with a selected browser - IBM
Open the test, and in the Test Contents area, at the top of the test, click Test Variables. Select Add > Test Variables...
Read more >Variable Viewer - MATLAB & Simulink - MathWorks
The Variable Viewer displays the variable priority and target values, where specified, along with the actual initial values for all the variables obtained...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sadasant yes, with the new version things look much better…
@weinand turns out we haven’t published the Variable Viewer! Our build failed on Friday. I’ll provide an update soon.