# Debugging Julia code in VSCode opens Python debugger instead

**URL:** https://discourse.julialang.org/t/debugging-julia-code-in-vscode-opens-python-debugger-instead/87198
**Category:** General Usage
**Tags:** debug, vscode
**Created:** [September 13, 2022, 10:02am UTC](https://discourse.julialang.org/t/debugging-julia-code-in-vscode-opens-python-debugger-instead/87198 "2022-09-13T10:02:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Shayan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shayan/32/33025_2.png) [@Shayan](https://discourse.julialang.org/u/Shayan)
#### Post date: [September 13, 2022, 10:02am UTC](https://discourse.julialang.org/t/debugging-julia-code-in-vscode-opens-python-debugger-instead/87198/1 "2022-09-13T10:02:24Z")

</div>

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

 ![image](https://global.discourse-cdn.com/julialang/original/3X/4/3/430b64deee2155aa9f8f43563ed8675f74cbf0a6.png)  
  
  
There isn’t an option for debugging `.jl` files. According to [the official doc](https://www.julia-vscode.org/docs/stable/userguide/debugging/#Example), I can hit F5 to trigger the debugger, But I get this instead:  
  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/5/05dc9cb7b23036a532bf0764c1885b079e6c2893.png)

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

---

<div class="post-metadata">

### Author: ![Shayan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shayan/32/33025_2.png) [@Shayan](https://discourse.julialang.org/u/Shayan)
#### Post date: [September 13, 2022, 10:27am UTC](https://discourse.julialang.org/t/debugging-julia-code-in-vscode-opens-python-debugger-instead/87198/2 "2022-09-13T10:27:40Z")

</div>

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.
