Last active
September 15, 2023 15:14
-
-
Save guidorice/e5fe9b6c12408961de60ad914163d7bf to your computer and use it in GitHub Desktop.
mojo .vscode/launch.json
This file contains hidden or 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 |
This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "mojo-lldb", | |
| "request": "launch", | |
| "name": "Run Unit tests", | |
| "program": "/home/username/.modular/pkg/packages.modular.com_mojo/bin/mojo", | |
| "args": [ | |
| "run", | |
| "-I", | |
| ".", | |
| "your_mojo_package/test/main.mojo", | |
| ], | |
| "env": [ | |
| "VIRTUAL_ENV=${workspaceRoot}/.venv", | |
| "PATH=${workspaceRoot}/.venv/bin:${PATH}", | |
| ], | |
| "cwd": "${workspaceRoot}" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment