Acts as a proxy to inject Dbux into all scripts of any website, before they execute in the browser, thereby allowing to analyze any website's scripts with Dbux.
- Install the dbux-code VSCode extension.
- Open VSCode and
start the Dbux Runtime Server. yarn installyarn start- Go to: http://localhost:8080/https://stackoverflow.com
- Analyze your files!
Instrumentation primarily happens in src/transforms/javascriptTransform.js and src/transforms/instrument.js.
- gather urls that are not instrumented (being sent straight to the domain, not under any child route)
- store files, so we can actually "go to code", "select traces" etc.
- caching (because instrumentation is slow on large files)
- whitelisting of "too large files"
- work around CSP