Couldn't find 'project.json' in current directory - .NET Core Webapp debugging
<p>I'm trying to setup debugging on OSX environment using .NET Core RC2 and Visual Studio Code. The following error is given when trying to run the debugger.</p>

<pre><code>Couldn't find 'project.json' in current directory
</code></pre>

<p>Currently I've setup launch.json (see below) and chosen .NET Core Launch (web) in Visual Studio Code.
As my project is in a folder called Core and sharing space with two other folders my structure looks like this.</p>

<p><strong>Structure</strong><br>
--.vscode<br>
------ launch.json<br>
------ tasks.json</p>

<p>-- Core</p>

<p>-- Core.Data</p>

<p>-- Core.Service</p>

<p><strong>launch.json</strong>    </p>

<pre><code>{
"version": "0.2.0",
"configurations": [
    {
        "name": ".NET Core Launch (console)",
        "type": "coreclr",
        "request": "launch",
        "preLaunchTask": "build",
        "program": "${workspaceRoot}/Core/bin/Debug/netcoreapp1.0/Core.dll",
        "args": [],
        "cwd": "${workspaceRoot}/Core",
        "stopAtEntry": false
    },
    {
        "name": ".NET Core Launch (web)",
        "type": "coreclr",
        "request": "launch",
        "preLaunchTask": "build",
        "program": "${workspaceRoot}/Core/bin/Debug/netcoreapp1.0/Core.dll",
        "args": [],
        "cwd": "${workspaceRoot}/Core",
        "stopAtEntry": false,
        "launchBrowser": {
            "enabled": true,
            "args": "${auto-detect-url}",
            "windows": {
                "command": "cmd.exe",
                "args": "/C start ${auto-detect-url}"
            },
            "osx": {
                "command": "open",
                "args": "-a chrome ${auto-detect-url}"
            },
            "linux": {
                "command": "xdg-open"
            }
        }
    },
    {
        "name": ".NET Core Attach",
        "type": "coreclr",
        "request": "attach",
        "processName": "&lt;example&gt;"
    }
]
}
</code></pre>

<p><strong>Folder structure</strong></p>

<p><a href="https://i.stack.imgur.com/B5cOc.png"><img src="https://i.stack.imgur.com/B5cOc.png" alt="enter image description here"></a></p>