Java scriptable debugger on JupyterLab
Please see https://tklab-group.github.io/JISDLab/
- docker
- docker-compose
First of all, you should clone this repository with a --recursive
option.
git clone --recursive https://github.com/tklab-group/JISDLab.git
And then, you can set your Java application's classpaths in ARG cp3
of Dockerfile.Concerning local and container path relations, see docker-compose.yaml.
# your application's absolute classpaths in a container(classpath1:classpath2:...)
ARG cp3=${ws_dir}/sample
Then, at this project root:
docker-compose up --build -d
Access http://localhost:21510 and enter a password(an initial password is passwd
), then you can debug your Java application!
You can also set up JISDLab without Docker.
- JupyterLab
- Java JDK >= 11
First of all, you should clone this repository with a --recursive
option.
git clone --recursive https://github.com/tklab-group/JISDLab.git
Next, please set the absolute path of JISDLab root directory to your environment variable JISDLAB_HOME
.
And then, install IJava
, Jupyter kernel for Java. When installing IJava, you need to set your application's classpath. Plaese run the shell script below(JupyterLab required).
For Linux:
JISD/setup/setup-linux.sh <your classpath>
For MacOS:
JISD/setup/setup-macos.sh <your classpath>
For Windows:
JISD\setup\setup-windows.ps1 <your classpath>
Then, start the Jupyter server
jupyter lab
Please access the server from your web browser, or IDE which support Jupyter (ex. Vidual Studio Code).
Please see debugspace/DebugTutorial.ipynb.
Please see
- Docker: debugspace/DemoForDocker.ipynb
- VSCode: debugspace/DemoForVSCode.ipynb
- JISD's javadoc: https://sakupo.github.io/JISD-doc/
Please see https://github.com/tklab-group/JISDLab/wiki/Trouble-Shooting (Japanese only)
see ./LICENSE
Java scriptable debugger on JupyterLab
Copyright 2021 tklab-group