diff --git a/package.json b/package.json
index e627a690e119837f80fe63fffc60c531b5abd4e5..dca584e16b277c681176b11682d9b81d4c80db58 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
 		"name": "AbbyCin",
 		"email": "abbytsing@gmail.com"
 	},
-	"license": "MIT",
+	"license": "ISC",
 	"keywords": [
 		"multi-root ready"
 	],
@@ -23,10 +23,10 @@
 	"private": true,
 	"repository": {
 		"type": "git",
-		"url": "https://github.com/Microsoft/vscode-mock-debug.git"
+		"url": "https://git.isliberty.me/abbycin/topjs-debugger"
 	},
 	"bugs": {
-		"url": "https://github.com/Microsoft/vscode-mock-debug/issues"
+		"url": "https://git.isliberty.me/abbycin/topjs-debugger/issues"
 	},
 	"scripts": {
 		"postinstall": "node ./node_modules/vscode/bin/install",
@@ -66,9 +66,7 @@
 				"configurationAttributes": {
 					"launch": {
 						"required": [
-							"program",
-							"runtimeExecutable",
-							"port"
+							"program"
 						],
 						"properties": {
 							"program": {
diff --git a/src/topjsDebug.js b/src/topjsDebug.js
index f0dab116db27ae9257324339ac35e14095b23f5b..bdd177c7e3cdac4c49f49753645cf913431e97ad 100644
--- a/src/topjsDebug.js
+++ b/src/topjsDebug.js
@@ -208,6 +208,10 @@ class TopJSDebugSession extends vscode_debugadapter.LoggingDebugSession {
             this.err(`can't find file: ${args.program}`);
             return false;
         }
+        if(!args.program.endsWith('.js')) {
+            this.err(`${args.program} is not a javascript file`);
+            return false;
+        }
         return true;
     }
 
@@ -220,7 +224,6 @@ class TopJSDebugSession extends vscode_debugadapter.LoggingDebugSession {
         }
         if(!this.validateArgs(args)) {
             this.sendEvent(new vscode_debugadapter.TerminatedEvent());
-            process.exit(1);
         } else {
             this._args = args;
             this._program = args.program;