Skip to content

Instantly share code, notes, and snippets.

@guidorice
Last active September 15, 2023 15:14
Show Gist options
  • Select an option

  • Save guidorice/e5fe9b6c12408961de60ad914163d7bf to your computer and use it in GitHub Desktop.

Select an option

Save guidorice/e5fe9b6c12408961de60ad914163d7bf to your computer and use it in GitHub Desktop.
mojo .vscode/launch.json
// 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": "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