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.

launch.json 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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": "node",
  9. "request": "launch",
  10. "name": "client: electron",
  11. "cwd": "${workspaceRoot}",
  12. "env": {
  13. "NODE_ENV": "development",
  14. "DEBUGGING": "true"
  15. },
  16. "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
  17. "runtimeArgs": ["--remote-debugging-port=9222", "."],
  18. "windows": {
  19. "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
  20. }
  21. },
  22. {
  23. "type": "chrome",
  24. "request": "attach",
  25. "name": "client: electron renderer",
  26. "port": 9222,
  27. "webRoot": "${workspaceRoot}",
  28. "sourceMaps": true,
  29. "sourceMapPathOverrides": {
  30. "webpack:///./*": "${webRoot}/*",
  31. "webpack:///*": "${webRoot}/*"
  32. }
  33. },
  34. {
  35. "type": "node",
  36. "request": "launch",
  37. "name": "server: nuxt",
  38. "cwd": "${workspaceRoot}",
  39. "protocol": "inspector",
  40. "args": ["dev"],
  41. "env": {
  42. "NODE_ENV": "development"
  43. },
  44. "osx": {
  45. "program": "${workspaceFolder}/node_modules/.bin/nuxt"
  46. },
  47. "linux": {
  48. "program": "${workspaceFolder}/node_modules/.bin/nuxt"
  49. },
  50. "windows": {
  51. "program": "${workspaceFolder}/node_modules/nuxt/bin/nuxt.js"
  52. }
  53. }
  54. ],
  55. "compounds": [
  56. {
  57. "name": "fullstack",
  58. "configurations": [
  59. "server: nuxt",
  60. "client: electron",
  61. "client: electron renderer"
  62. ]
  63. }
  64. ]
  65. }