Is it possible to launch an instance of Chrome/Chromium which is isolated from the rest of the system?

0

I'm trying to debug some of Chrome's behaviour when running one of my extensions. However the test is fairly memory intensive and I want to run it under Valgrind. Is it possible to launch an instance of the browser which is entirely independent of the rest of by browser windows so I can debug it without having to switch my main browser to something else for the duration?

stsquad

Posted 2013-03-08T13:47:10.160

Reputation: 449

Chrome uses a seperate process for each tab to begin with. You just need to identify which process your dealing with. – Ramhound – 2013-03-08T17:41:02.347

@Ramhound yeah but to use a tool like Valgrind I need to launch it within the Valgrind VM, you can't attach it to an already running process. There are also many additional processes involved. – stsquad – 2013-03-09T13:50:43.857

Answers

5

Try starting with a different user profile via e.g. the --user-data-dir=~/profilepath switch on *nix, or --profile-directory="profilename" on Windows. This should start a separate process.

Daniel Andersson

Posted 2013-03-08T13:47:10.160

Reputation: 20 465