diff --git a/.vscode/launch.json b/.vscode/launch.json index 6432c54..8512215 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -24,6 +24,15 @@ "mainClass": "im.rosetta.Main", "projectName": "rosetta-server", "envFile": "${workspaceFolder}/.env" + }, + { + "type": "java", + "name": "Profile with JFR", + "request": "launch", + "mainClass": "im.rosetta.Main", + "projectName": "rosetta-server", + "envFile": "${workspaceFolder}/.env", + "vmArgs": "-XX:StartFlightRecording=filename=/tmp/app.jfr,settings=profile,dumponexit=true" } ] } \ No newline at end of file