You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.8 KiB

  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "type": "chrome",
  9. "request": "launch",
  10. "timeout": 20000,
  11. "name": "Launch Chrome",
  12. "url": "http://localhost:45217",
  13. "webRoot": "${workspaceFolder}",
  14. "preLaunchTask": "npm: start without browser",
  15. "sourceMaps": true,
  16. "disableNetworkCache": true
  17. },
  18. {
  19. "name": "Launch Firefox",
  20. "type": "firefox",
  21. "request": "launch",
  22. "timeout": 20000,
  23. "reAttach": true,
  24. "url": "http://localhost:45217",
  25. "preLaunchTask": "npm: start without browser",
  26. "webRoot": "${workspaceFolder}/dist/",
  27. "suggestPathMappingWizard": true,
  28. "pathMappings": [
  29. {
  30. "url": "webpack://gdv/src",
  31. "path": "${workspaceFolder}/src"
  32. }
  33. ]
  34. },
  35. {
  36. "args": [
  37. "--timeout",
  38. "999999",
  39. "--colors",
  40. "-r",
  41. "ts-node/register",
  42. "${workspaceFolder}/test/*-spec.ts"
  43. ],
  44. "internalConsoleOptions": "openOnSessionStart",
  45. "name": "Mocha Tests",
  46. "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
  47. "request": "launch",
  48. "skipFiles": [
  49. "<node_internals>/**"
  50. ],
  51. "type": "pwa-node",
  52. "env": {
  53. "TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}"
  54. }
  55. }
  56. ]
  57. }