wudl-21
wudl-21

Reputation: 51

How to streamline xeus-cling kernel access in Windows VS Code/Jupyter without manual WSL URL handling?

I'm trying to simplify the workflow for using C++ in Jupyter Notebooks through VS Code on Windows 11. Here's my current setup:

Environment:

Current Workflow:

  1. Start WSL instance
  2. Launch Jupyter server via jupyter notebook --no-browser in WSL conda env
  3. Manually copy the WSL-generated URL (e.g., http://localhost:8888/?token=...)
  4. Paste URL into VS Code's "Enter the URL of the running Jupyter server" prompt

This works but becomes tedious compared to native Windows kernels (Python/R).

What I've Tried:

  1. WSL-based Solutions:
    • VS Code's "Remote - WSL" extension (kernel connection instability)

Question:

Is there a way to achieve either:

I am specifically looking for a way to:

Upvotes: 3

Views: 27

Answers (0)

Related Questions