launch.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. // IntelliSense を使用して利用可能な属性を学べます。
  3. // 既存の属性の説明をホバーして表示します。
  4. // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "type": "node",
  9. "request": "attach",
  10. "name": "Debug: Attach Debugger to Server",
  11. "port": 9229
  12. },
  13. {
  14. "type": "node",
  15. "request": "launch",
  16. "name": "Debug: Server",
  17. "runtimeExecutable": "npm",
  18. "runtimeArgs": [
  19. "run",
  20. "server:nolazy"
  21. ],
  22. "port": 9229,
  23. "restart": true,
  24. "console": "integratedTerminal",
  25. "internalConsoleOptions": "neverOpen"
  26. },
  27. {
  28. "type": "chrome",
  29. "request": "launch",
  30. "name": "Debug: Chrome",
  31. "sourceMaps": true,
  32. "sourceMapPathOverrides": {
  33. "webpack:///*": "${workspaceFolder}/*"
  34. },
  35. "webRoot": "${workspaceFolder}/public",
  36. "url": "http://localhost:3000"
  37. },
  38. {
  39. "type": "firefox",
  40. "request": "launch",
  41. "name": "Debug: Firefox",
  42. "reAttach": true,
  43. "url": "http://localhost:3000",
  44. "webRoot": "${workspaceFolder}/public",
  45. "pathMappings": [
  46. {
  47. "url": "webpack:///src",
  48. "path": "${workspaceFolder}/src"
  49. },
  50. {
  51. "url": "http://localhost:3000",
  52. "path": "${workspaceFolder}/public"
  53. }
  54. ]
  55. }
  56. ]
  57. }