Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README suggests deprecated way of configuring debug using launch.json #453

Closed
erickotsuka opened this issue Mar 13, 2025 · 1 comment · Fixed by #455
Closed

README suggests deprecated way of configuring debug using launch.json #453

erickotsuka opened this issue Mar 13, 2025 · 1 comment · Fixed by #455

Comments

@erickotsuka
Copy link

erickotsuka commented Mar 13, 2025

In the README file for this project, it is suggested that to configure the debug to use the .vscode/launch.json file this configuration should be used:

  debugger = {
    enabled = true,
    register_configurations = function(_)
      require("dap").configurations.dart = {}
      require("dap.ext.vscode").load_launchjs()
    end,
  },

However, using the latest version of dap there is a warning about require("dap.ext.vscode").load_launchjs() being deprecated. What is the current way to do this?

@sidlatau sidlatau linked a pull request Mar 16, 2025 that will close this issue
@sidlatau
Copy link
Collaborator

I see configurations now should be loaded automatically: mfussenegger/nvim-dap#1430
I removed the mentioning of the deprecated method in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants