Log content of untitled docs

This commit is contained in:
Dave Bartolomeo
2023-06-30 09:57:47 -04:00
parent 1f5b3919b0
commit 81b2407a47

View File

@@ -80,6 +80,9 @@ async function compileAndRunQuery(
console.log(
`${doc.isDirty ? "dirty" : "clean"}: ${doc.uri.toString()}`,
);
if (doc.isUntitled) {
console.log(`Content: ${doc.getText()}`);
}
}
console.log("Starting debugging");
await controller.startDebugging(