chrome_debugger 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chrome_debugger/client.rb +2 -1
- metadata +1 -1
@@ -36,7 +36,8 @@ module ChromeDebugger
|
|
36
36
|
|
37
37
|
def start_chrome
|
38
38
|
@profile_dir = File.join(Dir.tmpdir, SecureRandom.hex(10))
|
39
|
-
@chrome_cmd = "
|
39
|
+
@chrome_cmd = "#{@chrome_path} --user-data-dir=#{@profile_dir} -remote-debugging-port=#{REMOTE_DEBUGGING_PORT} --no-first-run > /dev/null 2>&1"
|
40
|
+
puts @chrome_cmd
|
40
41
|
@chrome_pid = Process.spawn(@chrome_cmd, :pgroup => true)
|
41
42
|
|
42
43
|
until debug_port_listening?
|