cliffback / netcoredbg-macos-arm64.nvim Goto Github PK
View Code? Open in Web Editor NEWNeovim plugin for getting netcoredbg working on macOS arm64
License: MIT License
Neovim plugin for getting netcoredbg working on macOS arm64
License: MIT License
Hi there Cliffback
Apologies for making this as an issue, I simply wasn't quite sure where else to ask this.
I am on an arm64 macbook, and I've been struggling with trying to run our dotnet tests using LazyVim. As a result, several roads have lead me to this repo.
Only, I can't quite connect all the dots. I have installed omnisharp and nvim.dap through LazyExtras, and so far haven't made any custom configs on top that, but I can't work out what I am supposed to do with the contents of this repo.
I can download the binary from the release and put it... somewhere? Shouldn't something point to this path?
I can make a /netcoredbg-macOS-arm64.lua
file in my /plugins folder and add the following:
return {
"Cliffback/netcoredbg-macOS-arm64.nvim",
dependencies = { "mfussenegger/nvim-dap" }
}
I have tried to guess what to do with the setup code you shared, my best guess has been this:
return {
"Cliffback/netcoredbg-macOS-arm64.nvim",
dependencies = { "mfussenegger/nvim-dap" },
config = function()
require("netcoredbg-macOS-arm64").setup(require("dap"))
end,
}
But this may just be my new-ness to LazyVim showing. I am not sure I fully understand the split between "install" and "setup".
In any case, none of the above have gotten me anywhere, and I feel like I'm flailing a bit in the dark. Currently, attempting to debug a test simply results in this (I can run the test normally):
It's my understanding that I need to have an executable (binary) of the .net debugger (netcoredbg) on my local machine, but I feel like I am missing some key steps in configuring nvim and nvim-dap to interact with it.
I found this 2022 guide on setting up dotnet with nvim-dap, but I can't quite figure out which step of this your plugin replaces.
Any chance you could help or provide a link to your setup?
Thanks in advance,
Mikkel
Thank you for this source, it seems to be the only one that works in arm64
I struggling to setup the env vars
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
Any Idea where can I add it ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.