Skip to content

Commit

Permalink
Improve logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmotta committed Dec 13, 2024
1 parent cf100fa commit 01a1153
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ export class VSCodeTestHelper {
console.log("DEBUG VS CODE -> SECTION VIEW");
try {
const content = this.sidebarView.getContent();
console.log(`DEBUG VS CODE -> SECTIONS: ${await content.getSections()}, FOLDERNAME: ${folderName}`);
const sections = await content.getSections();
for (const s of sections) {
console.log(`DEBUG VS CODE -> SECTIONS TITLE LOG: ${await s.getTitle()}`);
console.log(`DEBUG VS CODE -> SECTIONS TEXT LOG: ${await s.getText()}`);
}
console.log(`DEBUG VS CODE -> FOLDERNAME: ${folderName}`);
this.workspaceSectionView = await content.getSection(folderName);
} catch (error) {
console.log("DEBUG VS CODE -> SECTION VIEW ERROR", error);
Expand Down

0 comments on commit 01a1153

Please sign in to comment.