mirror of
https://github.com/insidegui/VirtualBuddy.git
synced 2026-12-02 00:19:48 +08:00
17 lines
646 B
Swift
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
|
|
)
|
|
}
|