"runtimeArgs": ["run-script", "start:dev:debug"],
       "skipFiles": ["<node_internals>/**"],
       "stopOnEntry": true
+    },
+    {
+      "name": "Debug Simulator Unit Tests",
+      "type": "node",
+      "request": "attach",
+      "port": 9229,
+      "continueOnAttach": true,
+      "autoAttachChildProcesses": false,
+      "timeout": 30000,
+      "resolveSourceMapLocations": [
+        "!**/node_modules/**",
+        "!**/.vscode/extensions/hbenl.vscode-mocha-test-adapter-*/**"
+      ],
+      "skipFiles": ["<node_internals>/**"]
     }
   ]
 }
 
     "source.fixAll": true
   },
   "testExplorer.useNativeTesting": true,
-  "mochaExplorer.files": ["test/**/*Test.ts"]
+  "mochaExplorer.files": ["test/**/*Test.ts"],
+  "mochaExplorer.debuggerConfig": "Debug Simulator Unit Tests"
 }
 
     "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
     "format": "prettier --write .",
     "test": "c8 mocha test/**/*Test.ts",
+    "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
     "clinic:clean": "clinic clean",