Skip to content

Commit

Permalink
Don't continue debugging if preLaunchTask fails
Browse files Browse the repository at this point in the history
  • Loading branch information
georgev93 committed Aug 10, 2024
1 parent cbcdcba commit 4aba235
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/overseer/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ M.listener = function(config)
string.format("DAP preLaunchTask '%s' failed", config.preLaunchTask),
vim.log.levels.ERROR
)
else
coroutine.resume(co)
end
coroutine.resume(co)
end

local function on_complete(_, status)
Expand Down

0 comments on commit 4aba235

Please sign in to comment.