Prerequisites:
1. Install Apex Log Analyzer.
https://marketplace.visualstudio.com/items?itemName=financialforce.lana
2. The file extension should be .log.
1. Drag and Drop the downloaded Debug Log into tools –> debug –> logs.
2. Right Click on the Uploaded Debug Log and use Log: Show Apex Log Analysis.
Note: If the folders are not present, create the folders in this hierarchical order .sfdx–> tools –> debug –> logs.