Article complete

Jupyter Announces The First Public Release Of Jupyter Visual Debugger

A speaker presents on stage at JupyterCon, with an orange backdrop featuring the Jupyter logo and audience members visible.

Key takeaways

  • Jupyter's new visual debugger addresses user requests for an integrated debugging tool within JupyterLab.
  • The debugger, developed in collaboration with various institutions, enhances the debugging experience for data scientists.
  • Users can set breakpoints, inspect variables, and navigate the call stack directly within their notebooks.
  • The debugger will initially require the xeus-python kernel, with plans for future integration into JupyterLab by default.

Takeaways drafted with AI from the article text.

One of the most efficient tools for a data scientist, Jupyter plays a potential role in the scientific community when it comes to working on complex scientific computations. All these years, the users of JupyterLab have been requesting to add a visual debugger so that the users need not switch into a different tool for more classical software development.

Recently, Jupyter announced the first public release of the Jupyter visual debugger. The JupyterLab debugger is the result of the collaboration and coordination of developers from several institutions, including QuantStack, Two Sigma, and Bloomberg. 

Using this debugger, one can set breakpoints in notebook cells and source files, inspect variables, navigate the call stack and can do much more. The debugger extension for JupyterLab has been designed to work with any kernel that supports debugging, provides the following

  • a sidebar with a variable explorer, a list of breakpoints, a source preview 
  • the possibility to navigate the call stack
  • the ability to set breakpoints directly next to the code, namely in code cells and code consoles
  • visual markers to indicate where the current execution has stopped.

Installation

  • The debugger front-end can be installed as a JupyterLab extension. In the future release, the debugger front-end will be included in JupyterLab by default.
  • In the back-end, a kernel implementing the Jupyter Debug Protocol will be required. Currently, the only kernel implementing this protocol is xeus-python, which is a new Jupyter kernel for the Python programming language. 

Future Developments

For the future development of this visual debugger, the developers are planning to create support for rich mime type rendering in the variable explorer, support for conditional breakpoints in the UI, general improvements of the debugger user experience and enable the debugging of Voilà dashboards, from the JupyterLab Voilà preview extension.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

Jupyter · 5 stories
  1. Top 5 Online Resources To Learn Jupyter Notebook
  2. You are here: Jupyter Announces The First Public Release Of Jupyter Visual Debugger
  3. Top Jupyter Hacks & Tricks You Should Try
  4. How To Implement Drag And Drop Feature In Jupyter Notebook With Pivot Table
  5. Explained: How To Access JupyterLab On Google Colab
About the author

Contributor

A Technical Journalist who loves writing about Machine Learning and Artificial Intelligence. A lover of music, writing and learning something out of the box.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.