Skip to content

Commit 2333b7e

Browse files
committed
chore: add cpuprofile
1 parent 64b1fc6 commit 2333b7e

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp

1 file changed

+1
-1
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs
487487
LOG.info { "Node.js CPU profile will be saved to: $profileDir $profilePath" }
488488
add("--cpu-prof")
489489
add("--cpu-prof-dir=$profileDir")
490-
add("--cpu-prof-name=$profilePath")
490+
add("--cpu-prof-name=$profilePath.cpuprofile")
491491
}
492492
add(LspSettings.getInstance().getArtifactPath() ?: artifact.resolve("aws-lsp-codewhisperer.js").toString())
493493
add("--stdio")

0 commit comments

Comments
 (0)