Skip to content

Lua debugging with local-lua-debugger failing #1245

Discussion options

You must be logged in to vote

Could you also post the :DapShowLog output?

I managed to reproduce the error only if I left out the cwd property in the configuration. Maybe you're missing that?
It resulted in this message:

[ ERROR ] 2024-06-01T11:07:32Z+0200 ] ...fig/nvim/pack/plugins/start/nvim-dap/lua/dap/session.lua:1463 ]	"stderr"	{
  command = "local-lua-dbg",
  enrich_config = <function 1>,
  type = "executable"
}	"node:path:1160\n    validateString(path, 'path');\n    ^\n\nTypeError [ERR_INVALID_ARG_TYPE]: The \"path\" argument must be of type string. Received undefined\n    at Object.isAbsolute (node:path:1160:5)\n    at LuaDebugSession.<anonymous> (/usr/lib/node_modules/local-lua-debugger-vscode/extension/luaDe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eduardomezencio
Comment options

Answer selected by eduardomezencio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants