Comments (3)
Check nvim DAP's documentation: https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
hope it helps :)
from dap-buddy.nvim.
Yea I've used nvim-dap's debugger and have run it just fine, I'm just confused on how to use it with dap install, this is how I run my node debugger:
M.node = function()
print("attaching")
require('dap').run({
type = 'node2',
request = 'attach',
cwd = vim.fn.getcwd(),
sourceMaps = true,
protocol = 'inspector',
skipFiles = {'<node_internals>/**/*.js'}
})
require("dapui").open();
end
Looking at the documentation there seems to be multiple ways to run? How do I run using the built-in nvim-dap configuraiton? If you could point me to the specific place in the documentation that works with dap install I would appreciate it, it would make it easier for people to transition to using dap install as well.
from dap-buddy.nvim.
I may be misunderstanding how the configuration works, when I use the default configuration it doesnt work since my flutter sdk and dart sdk paths are different, so I try to configure it like so:
dap_install.config("dart", {
configurations = {
{
dartSdkPath = "/opt/flutter/bin/cache/dart-sdk/",
flutterSdkPath = "/opt/flutter",
},
},
})
I tried with the name "dart" and "dart-code" . I get the error:
Invalid adapter `nil` for config `nil`
For 'dart' and the error:
No configuration found for `dart`. You need to add configs to `dap.configurations.dart` (See `:h dap-configuration`)
for 'dart-code' which makes me think it's not running with the overriden dart defaults. Is there a certain way I'm supposed to run it to work with dap-install? I'm just doing dap.continue()
to start the process.
from dap-buddy.nvim.
Related Issues (20)
- Typescript is not supported for nodejs HOT 3
- Use system package in debugpy HOT 5
- Synchronous adapter installation HOT 1
- `ccppr_lldb` insists I do not need to install it HOT 1
- how to use iwth rust-tools.nvim?
- Error occur in using codelldb
- cannot step_into python library code [justMyCode option maybe] HOT 1
- DIInstall crashes nvim
- `:DIInstall ccppr_vsc` complains wget is missing URL HOT 4
- nodejs configuration is not working
- No configuration found for 'c'
- Bash debugger implementation discussion
- Multi-install debuggers 🦆🦆🦆🦆
- require "dap_install" doesn't find anything HOT 3
- Add firefox debugger
- Migration from DAPInstall.nvim HOT 12
- Can not find the dependencies. HOT 2
- Beginner's documentation needed HOT 2
- attempt to index field 'info_window' (a nil value)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dap-buddy.nvim.