Debugging Julia code in VSCode opens Python debugger instead

I’m trying to debug a Julia script in VSCode, But the debugger opens the Python debugger instead:

There isn’t an option for debugging .jl files. According to the official doc, I can hit F5 to trigger the debugger, But I get this instead:

Julia extension version = v1.7.12
Julia = v1.8.0

Issue solved by following these steps:

  1. create a new workspace in VSCode
  2. disable Python and Pylance extensions in the workspace
  3. Trigger the debugger using the F5 key on a .jl file.