Skip to content

Commit 86bb564

Browse files
debug
1 parent 6b06145 commit 86bb564

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

packages/cursorless-engine/src/cursorlessEngine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export async function createCursorlessEngine({
6262
talonSpokenForms = new DisabledTalonSpokenForms(),
6363
snippets = new DisabledSnippets(),
6464
}: EngineProps): Promise<CursorlessEngine> {
65+
console.log("createCursorlessEngine");
6566
injectIde(ide);
6667

6768
const debug = new Debug(ide);

packages/cursorless-engine/src/generateSpokenForm/CustomSpokenFormGeneratorImpl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class CustomSpokenFormGeneratorImpl
2828
public readonly customSpokenFormsInitialized: Promise<void>;
2929

3030
constructor(talonSpokenForms: TalonSpokenForms) {
31+
console.log("CustomSpokenFormGeneratorImpl constructor");
3132
this.customSpokenForms = new CustomSpokenForms(talonSpokenForms);
3233
this.customSpokenFormsInitialized =
3334
this.customSpokenForms.customSpokenFormsInitialized;

packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ export class CustomSpokenForms {
5959

6060
constructor(private talonSpokenForms: TalonSpokenForms) {
6161
this.disposable = talonSpokenForms.onDidChange(() => {
62-
console.log("CustomSpokenForms.onDidChange");
63-
this.updateSpokenFormMaps().catch(() => {});
62+
// this.updateSpokenFormMaps().catch(() => {});
6463
});
6564

65+
console.log("CustomSpokenForms constructor");
66+
6667
this.customSpokenFormsInitialized = this.updateSpokenFormMaps().catch(
6768
() => {
6869
console.log("CustomSpokenForms.updateSpokenFormMaps() catch");

packages/cursorless-everywhere-talon-core/src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export async function activate(
2121
try {
2222
return await activateHelper(talon, runMode);
2323
} catch (error) {
24+
console.log("Error activating talon.js");
2425
console.error(error);
2526
throw error;
2627
}

0 commit comments

Comments
 (0)