diff --git a/lldb/tools/lldb-vscode/lldb-vscode.cpp b/lldb/tools/lldb-vscode/lldb-vscode.cpp index 080ef5b40c01c..ff4a6af22af4c 100644 --- a/lldb/tools/lldb-vscode/lldb-vscode.cpp +++ b/lldb/tools/lldb-vscode/lldb-vscode.cpp @@ -543,9 +543,6 @@ void request_attach(const llvm::json::Object &request) { return; } - const bool detatchOnError = GetBoolean(arguments, "detachOnError", false); - g_vsc.launch_info.SetDetachOnError(detatchOnError); - // Run any pre run LLDB commands the user specified in the launch.json g_vsc.RunPreRunCommands();