You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to debug a simple helloworld lua file (mainly with default clean lazyVim config) and I'm unable to due to few reasons from few attemps.
I'm mainly using the default configs and installs with :LazyExtras installed dap and nlua repos from there and I'm not sure wether OSV suppose to be able to debug (with no extra config over the default)) plain non nvim lua file with the useage of simple setting breakpoints and continue but this way it either works without printing to repl (or updating user specified expression list variable)
or prints the following error after doing the continue and "Run This file"
│Vim:Error invoking 'nvim_exec_lua' on channel 9: │
│Error executing lua: Vim:Failed to start server: no such file or directory │
│stack traceback: │
│ [C]: in function 'serverstart' │
│ ...lazyvim/lazy/one-small-step-for-vimkind/lua/osv/init.lua:167: in function │
│stack traceback: │
│ [C]: in function 'rpcrequest' │
│ ...lazyvim/lazy/one-small-step-for-vimkind/lua/osv/init.lua:1298: in function│
│ ...vim/lazy/LazyVim/lua/lazyvim/plugins/extras/dap/nlua.lua:21: in function '│
│ ...cal/share/./nvim_confs/lazyvim/lazy/nvim-dap/lua/dap.lua:598: in function │
│ [C]: in function 'xpcall' │
│ ...are/./nvim_confs/lazyvim/lazy/nvim-dap/lua/dap/async.lua:12: in function <│
Any idea what are the sure complete set of steps to install and config everything for full lua debugging?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to debug a simple helloworld lua file (mainly with default clean lazyVim config) and I'm unable to due to few reasons from few attemps.
:LazyExtras
installed dap and nlua repos from there and I'm not sure wether OSV suppose to be able to debug (with no extra config over the default)) plain non nvim lua file with the useage of simple setting breakpoints and continue but this way it either works without printing to repl (or updating user specified expression list variable)or prints the following error after doing the continue and "Run This file"
Any idea what are the sure complete set of steps to install and config everything for full lua debugging?
Beta Was this translation helpful? Give feedback.
All reactions