Module: FixedChromeUuid

Defined in:
lib/stack-service-base/debugger.rb

Instance Method Summary collapse

Instance Method Details

#chrome_setupObject



22
23
24
25
26
27
28
29
# File 'lib/stack-service-base/debugger.rb', line 22

def chrome_setup
  @uuid = ENV['RUBY_DEBUG_CHROME_UUID'] || '12345678-1234-5678-9abc-def012345678'
  @chrome_pid = DEBUGGER__::UI_CDP.setup_chrome(@local_addr.inspect_sockaddr, @uuid)
  DEBUGGER__.warn "    With Chrome browser, type the following URL in the address-bar:\n       devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&noJavaScriptCompletion=true&ws=\#{@local_addr.inspect_sockaddr}/\#{@uuid}\n  TXT\nend\n"