(
launchConfig: vscode.DebugConfiguration,
)
| 166 | } |
| 167 | |
| 168 | private async launch( |
| 169 | launchConfig: vscode.DebugConfiguration, |
| 170 | ): Promise<boolean> { |
| 171 | // Create or show the interactive console |
| 172 | // TODO: #367 Check if "newSession" mode is configured |
| 173 | this.sessionManager.showDebugTerminal(true); |
| 174 | |
| 175 | // Ensure the necessary script exists (for testing). The debugger will |
| 176 | // start regardless, but we also pass its success along. |
| 177 | return ( |
| 178 | (await utils.checkIfFileExists(this.invokePesterStubScriptPath)) && |
| 179 | vscode.debug.startDebugging( |
| 180 | await getChosenWorkspace(this.logger), |
| 181 | launchConfig, |
| 182 | ) |
| 183 | ); |
| 184 | } |
| 185 | } |
no test coverage detected