Closed atheo89 closed 1 month ago
I'm checking ghcr.io/atheo89/notebooks/workbench-images:codeserver-ubi9-python-3.9-python-path_1fb7f571f21326f557fa04743d84c43d7336e2b4 from https://github.com/atheo89/notebooks/actions/runs/9484866920/job/26135476419
It appears to work fine now.
/lgtm
/override ci/prow/notebooks-e2e-tests /approve
@atheo89: Overrode contexts on behalf of atheo89: ci/prow/notebooks-e2e-tests
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: atheo89, jiridanek
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related to: https://issues.redhat.com/browse/RHOAIENG-2312
Description
This PR addresses an issue where users were unable to use the Run and Debug button in the code-server workbench to execute a Python file.
The fix involves adding a launch.json configuration to the .vscode directory. This configuration ensures that the debugger uses the correct Python interpreter, specifically /opt/app-root/bin/python3, which includes pre-installed packages such as numpy.
How Has This Been Tested?
PR code-server built image
quay.io/opendatahub/workbench-images@sha256:a25623900cdd8e50135bf618cc231061c1e7a970caa96cd8c880ba596a8cc7cb
Reproduce the steps as shown on the video below: Screencast from 2024-06-12 14-13-59.webm
Merge criteria: