Using Jupyter with VSCode Remote

Set up the python environment with ipykernel and notebook packages installed. Ideally using a tool like uv or PDM to manage the environment.

Run a server (inside a tmux session)

pdm run jupyter notebook --no-browser --port=8080 

Copy the URL that is echoed in the terminal:

        file:///home/james/.local/share/jupyter/runtime/jpserver-3135387-open.html
    Or copy and paste one of these URLs:
        http://localhost:8080/tree?token=b273a9fb0448f4cbf6ca1fd0a7b1d29b3a13b72a385b8e3d
        http://127.0.0.1:8080/tree?token=b273a9fb0448f4cbf6ca1fd0a7b1d29b3a13b72a385b8e3d

Back in vscode select