launch.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // A launch configuration that compiles the extension and then opens it inside a new window
  2. {
  3. "version": "0.1.0",
  4. "configurations": [
  5. {
  6. "name": "Launch Extension",
  7. "type": "extensionHost",
  8. "request": "launch",
  9. "runtimeExecutable": "${execPath}",
  10. "args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
  11. "stopOnEntry": false,
  12. "sourceMaps": true,
  13. "outFiles": [
  14. "${workspaceRoot}/out/*",
  15. "${workspaceRoot}/out/src/*",
  16. "${workspaceRoot}/out/test/*"
  17. ],
  18. "preLaunchTask": "npm",
  19. "smartStep": true
  20. },
  21. {
  22. "name": "Launch Tests",
  23. "type": "extensionHost",
  24. "request": "launch",
  25. "runtimeExecutable": "${execPath}",
  26. "args": ["${workspaceRoot}/test/test_project", "--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test"],
  27. "stopOnEntry": false,
  28. "sourceMaps": true,
  29. "outFiles": [
  30. "${workspaceRoot}/out/*",
  31. "${workspaceRoot}/out/src/*",
  32. "${workspaceRoot}/out/test/*"
  33. ],
  34. "preLaunchTask": "npm"
  35. // "smartStep": true
  36. }
  37. ]
  38. }