Skip to content

Commit 8fe4f32

Browse files
mcollinaclaude
andcommitted
feat: enable sourcemaps for profiling in recording mode
Sourcemaps are now always enabled when starting application profiling, providing accurate stack traces pointing to original source files in flamegraphs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fc5825d commit 8fe4f32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/backend/routes/root.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default async function (fastify: FastifyInstance) {
191191
fastify.loaded.mode = mode
192192
if (mode === 'start') {
193193
for (const { id } of applications) {
194-
await api.startApplicationProfiling(pid, id, { type })
194+
await api.startApplicationProfiling(pid, id, { type, sourceMaps: true })
195195
}
196196
fastify.loaded.type = type
197197
fastify.loaded.metrics = {}

0 commit comments

Comments
 (0)