|
9 | 9 | "version": "0.2.0", |
10 | 10 | "configurations": [ |
11 | 11 | { // https://www.npmjs.com/package/tsx#debugging-method-1-run-tsx-directly-from-vscode |
12 | | - "name": "Node TypeScript テスト", |
| 12 | + "name": "Google Gemin Test", |
13 | 13 | "type": "node", |
14 | 14 | "request": "launch", |
15 | | - //"envFile": "${workspaceFolder}/.env.debug", |
| 15 | + "envFile": "${workspaceFolder}/.env.debug.gemini", |
16 | 16 | // Debug current file in VSCode |
17 | 17 | "program": "${workspaceFolder}/src/cli.ts", //"${file}", |
18 | 18 | //"stopOnEntry": true, |
|
25 | 25 | Open terminal when debugging starts (Optional) |
26 | 26 | Useful to see console.logs |
27 | 27 | */ |
28 | | - "console": "integratedTerminal", |
| 28 | + "console": "integratedTerminal", //Defaultの"internalConsole"だとデバッグコンソールなのでインタラクティブなYes/Noの入力ができない |
29 | 29 | "internalConsoleOptions": "neverOpen", //デバッグ セッション中の [デバッグ コンソール] パネルの表示/非表示を制御 |
30 | | - //"outputCapture": "std", //LogがDEBUG CONSOLEに出る |
| 30 | + "outputCapture": "std", //LogがDEBUG CONSOLEに出る |
| 31 | + // Files to exclude from debugger (e.g. call stack) |
| 32 | + "skipFiles": [ |
| 33 | + // Node.js internal core modules |
| 34 | + "<node_internals>/**", |
| 35 | + // Ignore all dependencies (optional) |
| 36 | + "${workspaceFolder}/node_modules/**", |
| 37 | + ], |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "Azure OpenAI Test", |
| 41 | + "type": "node", |
| 42 | + "request": "launch", |
| 43 | + "envFile": "${workspaceFolder}/.env.debug.azure", |
| 44 | + // Debug current file in VSCode |
| 45 | + "program": "${workspaceFolder}/src/cli.ts", |
| 46 | + //"stopOnEntry": true, |
| 47 | + /* |
| 48 | + Path to tsx binary |
| 49 | + Assuming locally installed |
| 50 | + */ |
| 51 | + "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/tsx", |
| 52 | + /* |
| 53 | + Open terminal when debugging starts (Optional) |
| 54 | + Useful to see console.logs |
| 55 | + */ |
| 56 | + "console": "integratedTerminal", |
| 57 | + "internalConsoleOptions": "neverOpen", |
31 | 58 | // Files to exclude from debugger (e.g. call stack) |
32 | 59 | "skipFiles": [ |
33 | 60 | // Node.js internal core modules |
|
36 | 63 | "${workspaceFolder}/node_modules/**", |
37 | 64 | ], |
38 | 65 | }, |
| 66 | + // IntelliSense を使用して利用可能な属性を学べます。 |
| 67 | + // 既存の属性の説明をホバーして表示します。 |
| 68 | + // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 |
| 69 | + { |
| 70 | + "type": "node", |
| 71 | + "request": "launch", |
| 72 | + "name": "Launch Program", |
| 73 | + "skipFiles": [ |
| 74 | + "<node_internals>/**" |
| 75 | + ], |
| 76 | + "program": "${file}", |
| 77 | + "outFiles": [ |
| 78 | + "${workspaceFolder}/**/*.js" |
| 79 | + ] |
| 80 | + }, |
39 | 81 | ] |
40 | 82 | }, |
41 | 83 | "extensions": { |
|
0 commit comments