DebugSession refactoring

This commit is contained in:
Andre Weinand
2018-09-10 14:32:53 +02:00
parent dec5ac9811
commit 12ae0f6120
12 changed files with 1008 additions and 665 deletions

View File

@@ -220,7 +220,7 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape, IDeb
public $customDebugAdapterRequest(sessionId: DebugSessionUUID, request: string, args: any): Thenable<any> {
const session = this.debugService.getSession(sessionId);
if (session) {
return session.raw.custom(request, args).then(response => {
return session.customRequest(request, args).then(response => {
if (response && response.success) {
return response.body;
} else {