feat: add local cdp startup and external association

This commit is contained in:
QiuSW
2026-07-25 15:53:31 +08:00
parent 972c637716
commit 4063b851eb
17 changed files with 845 additions and 158 deletions
+6
View File
@@ -101,6 +101,12 @@ func BuildArgs(spec domain.LaunchSpec) ([]string, error) {
"--no-first-run",
"--disable-default-apps",
}
if normalized.RemoteDebugPort > 0 {
args = append(args,
"--remote-debugging-address=127.0.0.1",
"--remote-debugging-port="+strconv.Itoa(normalized.RemoteDebugPort),
)
}
if normalized.ProfileDirectory != "" {
args = append(args, "--profile-directory="+normalized.ProfileDirectory)
}