Guest User

Untitled

a guest
Nov 22nd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "(gdb) Bash on Windows Launch",
  6. "type": "cppdbg",
  7. "request": "launch",
  8. "program": "/mnt/c/.../target/debug/examples/testapp", // path to crate root here, change executable
  9. "args": [],
  10. "stopAtEntry": false,
  11. "cwd": "/mnt/c/.../target/debug/examples", // todo: path to crate root
  12. "environment": [],
  13. "externalConsole": true,
  14. "pipeTransport": {
  15. "pipeProgram": "C:\\Windows\\sysnative\\bash.exe",
  16. "pipeArgs": [
  17. "-c"
  18. ],
  19. "debuggerPath": "/root/.cargo/bin/rust-gdb",
  20. "pipeCwd": ""
  21. },
  22. "setupCommands": [
  23. {
  24. "description": "Enable pretty-printing for gdb",
  25. "text": "-enable-pretty-printing",
  26. "ignoreFailures": false
  27. }
  28. ],
  29. "sourceFileMap": {
  30. "/mnt/c": "c:\\",
  31. "/root": "c:\\Users\\myusername" // todo: put your user name (path to .cargo parent folder to be exact)
  32. }
  33. }
  34. ]
  35. }
Add Comment
Please, Sign In to add comment