feat: add local cdp startup and external association
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user