Skip to content

Commit 2791573

Browse files
dmlamboko1
authored andcommitted
fix(DAP): Return unverified breakpoints instead of unsuccessful response
1 parent 14c8a54 commit 2791573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/debug/server_dap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def process_request req
358358
}
359359
send_response req, breakpoints: (bps.map do |bp| {verified: true,} end)
360360
else
361-
send_response req, success: false, message: "#{req_path} is not available"
361+
send_response req, breakpoints: (args['breakpoints'].map do |bp| {verified: false, message: "#{req_path} could not be located; specify source location in launch.json with \"localfsMap\" or \"localfs\""} end)
362362
end
363363

364364
when 'setFunctionBreakpoints'

0 commit comments

Comments
 (0)