launch.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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": "lldb",
  9. "request": "launch",
  10. "name": "Debug unit tests in library 'actors'",
  11. "cargo": {
  12. "args": [
  13. "test",
  14. "--no-run",
  15. "--lib",
  16. "--package=actors"
  17. ],
  18. "filter": {
  19. "name": "actors",
  20. "kind": "lib"
  21. }
  22. },
  23. "args": [],
  24. "cwd": "${workspaceFolder}"
  25. },
  26. {
  27. "type": "lldb",
  28. "request": "launch",
  29. "name": "Debug executable 'test-ws'",
  30. "cargo": {
  31. "args": [
  32. "build",
  33. "--bin=test-ws",
  34. "--package=actors"
  35. ],
  36. "filter": {
  37. "name": "test-ws",
  38. "kind": "bin"
  39. }
  40. },
  41. "args": [],
  42. "cwd": "${workspaceFolder}"
  43. },
  44. {
  45. "type": "lldb",
  46. "request": "launch",
  47. "name": "Debug unit tests in executable 'test-ws'",
  48. "cargo": {
  49. "args": [
  50. "test",
  51. "--no-run",
  52. "--bin=test-ws",
  53. "--package=actors"
  54. ],
  55. "filter": {
  56. "name": "test-ws",
  57. "kind": "bin"
  58. }
  59. },
  60. "args": [],
  61. "cwd": "${workspaceFolder}"
  62. },
  63. {
  64. "type": "lldb",
  65. "request": "launch",
  66. "name": "Debug integration test 'websocket'",
  67. "cargo": {
  68. "args": [
  69. "test",
  70. "--no-run",
  71. "--test=websocket",
  72. "--package=actors"
  73. ],
  74. "filter": {
  75. "name": "websocket",
  76. "kind": "test"
  77. }
  78. },
  79. "args": [],
  80. "cwd": "${workspaceFolder}"
  81. }
  82. ]
  83. }