Closed brunobmello25 closed 7 months ago
The config you are using for nvim-dap is current than the vscode config, is that intentional?
It should look like this to have the same:
table.insert(dap.configurations.python, {
name = "Launch Flask server",
type = "python",
request = "launch",
console = "integratedTerminal",
module = "flask",
args = {
"--app",
"app",
"run",
},
})
Or you could load the launch.json directly
Here is my current configuration:
I tried running the flask project with this launch flask server configuration but I fall in this error:
I also tried running with mason's venv (which also has debugpy installed), by changing my config to be like this:
but it falls on the same error
I also tried running vscode debugger to have a way to be sure that it's not a problem with the project, but vscode debugger works fine using the venv interpreter. Here is the config:
Sorry if this is not the proper place to ask this question. I can close the issue if it's not okay, no problem