Нема описа

Afshin T. Darian befcfa2069 Update some conventions, add license, minor clean up. пре 5 година
schema 30829030c5 More scaffolding пре 5 година
src befcfa2069 Update some conventions, add license, minor clean up. пре 5 година
style f2e90c8b5f add simple Menu ReactComponent with mock data пре 5 година
tests aaed345c5b Rename eventMessage test пре 5 година
.gitignore 7723f736f8 Add xeus-python debug log files to gitignore пре 5 година
.prettierrc 65b4154a8c Add .prettierrc пре 5 година
LICENSE 64db2dfe4b Update LICENSE пре 5 година
README.md c1cfe20ce8 Add start and stop method пре 5 година
package.json c1cfe20ce8 Add start and stop method пре 5 година
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. пре 5 година
tsconfig.json 25bfc84fb0 Add scaffolding for tests пре 5 година
tslint.json 9e67f61b69 Add a shell JupyterLab extension. пре 5 година

README.md

@jupyterlab/debugger

A JupyterLab debugger UI extension

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

Prerequisites

  • JupyterLab 1.1+

Development

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

# Activate the conda environment
conda activate jupyterlab-debugger

# Create a directory for the kernel debug logs in the folder where JupyterLab is started
mkdir xpython_debug_logs

# 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

Make sure xeus-python is installed and jupyter --paths points to where the kernel is installed.

To run the tests:

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

jlpm run test