launch.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. "cwd": "${workspaceFolder}/packages/app",
  18. "runtimeExecutable": "npm",
  19. "runtimeArgs": [
  20. "run",
  21. "dev:server"
  22. ],
  23. "port": 9229,
  24. "restart": true,
  25. "console": "integratedTerminal",
  26. "internalConsoleOptions": "neverOpen"
  27. },
  28. {
  29. "type": "chrome",
  30. "request": "launch",
  31. "name": "Debug: Chrome",
  32. "sourceMaps": true,
  33. "sourceMapPathOverrides": {
  34. "webpack:///*": "${workspaceFolder}/packages/app/*"
  35. },
  36. "webRoot": "${workspaceFolder}/packages/app/public",
  37. "url": "http://localhost:3000"
  38. },
  39. {
  40. "type": "firefox",
  41. "request": "launch",
  42. "name": "Debug: Firefox",
  43. "reAttach": true,
  44. "url": "http://localhost:3000",
  45. "webRoot": "${workspaceFolder}/packages/app/public",
  46. "pathMappings": [
  47. {
  48. "url": "webpack:///src",
  49. "path": "${workspaceFolder}/packages/app/src"
  50. },
  51. {
  52. "url": "http://localhost:3000",
  53. "path": "${workspaceFolder}/packages/app/public"
  54. }
  55. ]
  56. }
  57. ]
  58. }