Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lua/csharp/features/debugger/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ local function apply_launch_profile(debug_config, launch_profile)
end

if launch_profile.commandLineArgs then
vim.tbl_deep_extend("force", debug_config.args, vim.split(launch_profile.commandLineArgs, " ", { trimempty = true }))
local args = vim.split(launch_profile.commandLineArgs, " ", { trimempty = true })
for _, arg in ipairs(args) do
table.insert(debug_config.args, arg)
end
end

if launch_profile.applicationUrl then
Expand Down