SUBTRACE_TOKEN from the Subtrace dashboard
for free to set it as an environment variable.
localhost:3000 to see them automatically appear in
Chrome DevTools in the Subtrace dashboard!Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Connect your NodeJS + Express backend to Chrome DevTools using Subtrace
// app.js
const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send('Hello World!')
});
app.listen(port, () => {
console.log(`listening on port ${port}`)
});
curl -fsSL https://subtrace.dev/install.sh | sh
SUBTRACE_TOKEN from the Subtrace dashboard
for free to set it as an environment variable.
# get a tracer token for free at https://subtrace.dev/dashboard
export SUBTRACE_TOKEN=
subtrace run -- node app.js
localhost:3000 to see them automatically appear in
Chrome DevTools in the Subtrace dashboard!