diff --git a/.vscode/launch.json.example b/.vscode/launch.json.example index f20d476f..a3493a3c 100644 --- a/.vscode/launch.json.example +++ b/.vscode/launch.json.example @@ -37,7 +37,24 @@ "stopOnEntry": false }, { - "name": "Karma Chrome", + "name": "Egg Debug", + "type": "node", + "request": "launch", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run", + "debug", + "--", + "--inspect-brk" + ], + "console": "integratedTerminal", + "restart": true, + "protocol": "auto", + "port": 9229, + "autoAttachChildProcesses": true + }, + { + "name": "Chrome Debug with Karma", "type": "chrome", "request": "attach", "address": "localhost", @@ -61,23 +78,6 @@ "${workspaceFolder}/test" ], "internalConsoleOptions": "openOnSessionStart" - }, - { - "type": "node", - "request": "launch", - "name": "Egg Debug", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "run", - "debug", - "--", - "--inspect-brk" - ], - "console": "integratedTerminal", - "restart": true, - "protocol": "auto", - "port": 9229, - "autoAttachChildProcesses": true } ] }