Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Sep 13, 2024
1 parent 4963955 commit 4f8a99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/src/debugger/devtools_client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require('./remote_config')
// There doesn't seem to be an official standard for the content of these fields, so we're just populating them with
// something that should be useful to a Node.js developer.
const threadId = parentThreadId === 0 ? `pid:${process.pid}` : `pid:${process.pid};tid:${parentThreadId}`
const threadName = parentThreadId === 0 ? 'MainThread' : 'WorkerThread'
const threadName = parentThreadId === 0 ? 'MainThread' : `WorkerThread:${parentThreadId}`

session.on('Debugger.paused', async ({ params }) => {
const start = process.hrtime.bigint()
Expand Down

0 comments on commit 4f8a99d

Please sign in to comment.