Bez popisu

Jeremy Tuloup 140cee3efd Add TODO for the requestAnimationFrame před 5 roky
binder f77ddec5f6 Add Binder files před 5 roky
examples fcb08e9e6a Add example notebook that uses xeus-python před 5 roky
schema 44eeb41d1a more work in progress před 5 roky
src 140cee3efd Add TODO for the requestAnimationFrame před 5 roky
style d4ffc8b2a7 resolve hover issue in console and editor error před 5 roky
tests 2ef6e99b35 Use CommandToolbarButton for callstack buttons před 5 roky
typings be46e87e89 refactor objectInspector, add information about typing react-inspector před 5 roky
.gitignore 7723f736f8 Add xeus-python debug log files to gitignore před 5 roky
.prettierignore 1910f45233 Add .prettierignore file před 5 roky
.prettierrc 65b4154a8c Add .prettierrc před 5 roky
DESIGN.md f8f82ebdfe Fix design file location. před 5 roky
LICENSE 64db2dfe4b Update LICENSE před 5 roky
README.md fcb08e9e6a Add example notebook that uses xeus-python před 5 roky
azure-pipelines.yml 5fd035644e Restore debugger session state před 5 roky
package.json 3c0a22d538 add react-inspector před 5 roky
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. před 5 roky
tsconfig.json 25bfc84fb0 Add scaffolding for tests před 5 roky
tslint.json 2b431c1d42 Add tslint config for sorted imports před 5 roky

README.md

@jupyterlab/debugger

Build Status Binder

A JupyterLab debugger UI extension

This extension is under active development and is not yet available.

Prerequisites

  • JupyterLab 1.1+
  • xeus-python 0.5+

Development

# Create a new conda environment
conda create -n jupyterlab-debugger -c conda-forge jupyterlab nodejs xeus-python=0.6 ptvsd

# Activate the conda environment
conda activate jupyterlab-debugger

# Install dependencies
jlpm

# Build Typescript source
jlpm build

# Link your development version of the extension with JupyterLab
jupyter labextension link .

# Rebuild Typescript source after making changes
jlpm build

# Rebuild JupyterLab after making any changes
jupyter lab build

# Start JupyterLab with the kernel logs enabled and watch move enabled
XEUS_LOG=1 jupyter lab --no-browser --watch

Tests

To run the tests:

# [Optional] to enable the logs for xeus-python
export XEUS_LOG=1

jlpm run test

Inspecting debug messages

The kernelspy extension for JupyterLab can be used to inspect the debug messages sent between the debugger UI and the kernel.

To install it:

jupyter labextension install jupyterlab-kernelspy