launch.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // A launch configuration that compiles the extension and then opens it inside a new window
  2. {
  3. "version": "0.2.0",
  4. "configurations": [
  5. {
  6. "type": "extensionHost",
  7. "request": "launch",
  8. "name": "Launch Client",
  9. "runtimeExecutable": "${execPath}",
  10. "args": ["--extensionDevelopmentPath=${workspaceRoot}"],
  11. "outFiles": ["${workspaceRoot}/client/out/**/*.js"],
  12. "preLaunchTask": {
  13. "type": "npm",
  14. "script": "watch"
  15. }
  16. },
  17. {
  18. "type": "node",
  19. "request": "attach",
  20. "name": "Attach to Server",
  21. "port": 6009,
  22. "restart": true,
  23. "outFiles": ["${workspaceRoot}/server/out/**/*.js"]
  24. },
  25. {
  26. "name": "Language Server E2E Test",
  27. "type": "extensionHost",
  28. "request": "launch",
  29. "runtimeExecutable": "${execPath}",
  30. "args": [
  31. "--extensionDevelopmentPath=${workspaceRoot}",
  32. "--extensionTestsPath=${workspaceRoot}/client/out/test",
  33. "${workspaceRoot}/client/testFixture"
  34. ],
  35. "outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
  36. }
  37. ],
  38. "compounds": [
  39. {
  40. "name": "Client + Server",
  41. "configurations": ["Launch Client", "Attach to Server"]
  42. }
  43. ]
  44. }