SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>A Great Demo on CodePen</title>
</head>

<body>
  <script>
    console.log('current',Date.now(),performance.timeOrigin,performance.now())
  </script>
  <img src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" alt="">
  BrowserTracing
  
  <script src="https://browser.sentry-cdn.com/6.10.0/bundle.js" crossorigin="anonymous"></script>
  <script src="https://browser.sentry-cdn.com/6.10.0/bundle.tracing.js" crossorigin="anonymous"></script>
  <script>
    Sentry.init({
      dsn: 'https://8c2a522829e04feabd0216243e889b7e@o468741.ingest.sentry.io/5497048',
      tracesSampleRate: 1.0,
      integrations:[new Sentry.Integrations.BrowserTracing({
        tracingOrigins:[/.*/],
      })],
      debug:true,
    });
    setTimeout(()=>{
      const a = document.createElement('img')
      a.src="http://baidu.com/aaa"
      document.body.append(a)
    },3000)
    
    window.addEventListener('error', event =>{ 
        console.log('img error',event)
    }, true);

    throw Error(1)
  </script>
</body>

</html>