test: increase timeout for debug adapter tests

Increase the timeout for the debug adapter tests as delve may take
longer to launch. This fixes the long tests on windows.

This also switches the debug adapter tests to use the pre-webpack
version of the debug process.

Change-Id: I9180b3b49439e0f0ab59af337cd192d385c2635a
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/261080
Trust: Suzy Mueller <suzmue@golang.org>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
diff --git a/test/integration/goDebug.test.ts b/test/integration/goDebug.test.ts
index 6bd9a6c..bcda9fe 100644
--- a/test/integration/goDebug.test.ts
+++ b/test/integration/goDebug.test.ts
@@ -275,10 +275,10 @@
 // Test suite adapted from:
 // https://github.com/microsoft/vscode-mock-debug/blob/master/src/tests/adapter.test.ts
 suite('Go Debug Adapter', function () {
-	this.timeout(10000);
+	this.timeout(50000);
 
 	const debugConfigProvider = new GoDebugConfigurationProvider();
-	const DEBUG_ADAPTER = path.join('.', 'dist', 'debugAdapter.js');
+	const DEBUG_ADAPTER = path.join('.', 'out', 'src', 'debugAdapter', 'goDebug.js');
 
 	const PROJECT_ROOT = path.normalize(path.join(__dirname, '..', '..', '..'));
 	const DATA_ROOT = path.join(PROJECT_ROOT, 'test', 'fixtures');
@@ -287,6 +287,10 @@
 
 	setup( () => {
 		dc = new DebugClient('node', path.join(PROJECT_ROOT, DEBUG_ADAPTER), 'go');
+
+		// Launching delve may take longer than the default timeout of 5000.
+		dc.defaultTimeout = 20000;
+
 		// To connect to a running debug server for debugging the tests, specify PORT.
 		return dc.start();
 	});