Skip to content

Commit

Permalink
provide a way to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Oct 16, 2024
1 parent 85af10d commit 1db1e7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/aipane/aipane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ export async function insertAIAnswer(
}

try {
const debug = localStorage.getItem("DEBUG");
if (debug) {
debugger;
}
console.log(`Prompt: ${id}`);
console.log(`System text: \n${system}`);
console.log(`User: ${user}`);
Expand Down

0 comments on commit 1db1e7b

Please sign in to comment.