Files
VirtualBuddy/VirtualCore/Source/Debugging/VirtualBuddyDebugging.swift
Guilherme Rambo baa001af93 Refactor Xcode debugging support (#822)
* Refactor Xcode debugging support into independent Swift packages

* Fix remote process name in Xcode debug navigator, display progress for shared cache symbol extraction, bring app to the foreground when a run requires extracting symbols
2026-11-24 10:08:45 -03:00

17 lines
646 B
Swift

import Foundation
import MacDebugHost
public enum VirtualBuddyDebugging {
public static let host = DebugHostConfiguration(
applicationURL: Bundle.main.bundleURL,
helperURL: Bundle.main.bundleURL.appendingPathComponent("Contents/MacOS/vbdebug"),
runtimeDirectory: URL(fileURLWithPath: "/private/tmp/vbdebug-\(getuid())", isDirectory: true)
)
@MainActor public static let symbolCache = DebugSymbolCache(
root: FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask)[0]
.appendingPathComponent("codes.rambo.VirtualBuddy/DebugSymbols"),
helperURL: host.helperURL
)
}