Created
August 9, 2020 13:06
-
-
Save youknowone/2d3d3ca4576887d4578a814494c280eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug executable 'rustpython'", | |
"cargo": { | |
"args": [ | |
"build", | |
"--bin=rustpython", | |
"--package=rustpython" | |
], | |
"filter": { | |
"name": "rustpython", | |
"kind": "bin" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in executable 'rustpython'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--bin=rustpython", | |
"--package=rustpython" | |
], | |
"filter": { | |
"name": "rustpython", | |
"kind": "bin" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug benchmark 'bench'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--bench=bench", | |
"--package=rustpython" | |
], | |
"filter": { | |
"name": "bench", | |
"kind": "bench" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in library 'rustpython_parser'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--lib", | |
"--package=rustpython_parser" | |
], | |
"filter": { | |
"name": "rustpython_parser", | |
"kind": "lib" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in library 'rustpython_vm'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--lib", | |
"--package=rustpython_vm" | |
], | |
"filter": { | |
"name": "rustpython_vm", | |
"kind": "lib" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in library 'rustpython_wasm'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--lib", | |
"--package=rustpython_wasm" | |
], | |
"filter": { | |
"name": "rustpython_wasm", | |
"kind": "lib" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug run", | |
"cargo": { | |
"args": [ | |
"run" | |
], | |
"filter": { | |
"name": "rustpython", | |
"kind": "bin" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug snippets", | |
"cargo": { | |
"args": [ | |
"build", | |
"--bin=rustpython", | |
"--package=rustpython" | |
], | |
"filter": { | |
"name": "rustpython", | |
"kind": "bin" | |
} | |
}, | |
"args": ["tt.py"], | |
"cwd": "${workspaceFolder}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment