Sometimes when i am debugging with Rails, i want to close the attach to see something and come back again. To do this, i need to go back to test to it.
I tried:
local nt = require("neotest")
nt.run.attach(nt.run.get_last_run())
it throws and errors:
Error executing luv callback:
.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:100: attempt to call upvalue 'cb' (a table value)
stack traceback:
.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:100: in function 'close_task'
.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:122: in function 'cb'
.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:181: in function <.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:180>
Sometimes when i am debugging with Rails, i want to close the attach to see something and come back again. To do this, i need to go back to test to it.
I tried:
it throws and errors:
Error executing luv callback: .../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:100: attempt to call upvalue 'cb' (a table value) stack traceback: .../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:100: in function 'close_task' .../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:122: in function 'cb' .../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:181: in function <.../otavio/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:180>