Skip to content

Instantly share code, notes, and snippets.

@GeertVL-zz
Created May 26, 2018 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeertVL-zz/b493debafac3fed3b39596b541c1f28e to your computer and use it in GitHub Desktop.
Save GeertVL-zz/b493debafac3fed3b39596b541c1f28e to your computer and use it in GitHub Desktop.
How to prepare a Rust project
{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "(Windows) Launch",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true
        }
    ]
}
@GeertVL-zz
Copy link
Author

GeertVL-zz commented May 26, 2018

If breakpoints do not work set the following line in your user settings:

"debug.allowBreakpointsEverywhere": true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment