{"action":"created","issue":{"url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1109","labels_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1109/comments","events_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1109/events","html_url":"https://github.com/scriptcs/scriptcs/pull/1109","id":113199077,"number":1109,"title":"Openide","user":{"login":"glennblock","id":141124,"avatar_url":"https://avatars.githubusercontent.com/u/141124?v=3","gravatar_id":"","url":"https://api.github.com/users/glennblock","html_url":"https://github.com/glennblock","followers_url":"https://api.github.com/users/glennblock/followers","following_url":"https://api.github.com/users/glennblock/following{/other_user}","gists_url":"https://api.github.com/users/glennblock/gists{/gist_id}","starred_url":"https://api.github.com/users/glennblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennblock/subscriptions","organizations_url":"https://api.github.com/users/glennblock/orgs","repos_url":"https://api.github.com/users/glennblock/repos","events_url":"https://api.github.com/users/glennblock/events{/privacy}","received_events_url":"https://api.github.com/users/glennblock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-25T01:39:39Z","updated_at":"2015-10-26T09:23:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scriptcs/scriptcs/pulls/1109","html_url":"https://github.com/scriptcs/scriptcs/pull/1109","diff_url":"https://github.com/scriptcs/scriptcs/pull/1109.diff","patch_url":"https://github.com/scriptcs/scriptcs/pull/1109.patch"},"body":"# DON'T MERGE YET!\r\n\r\nSending the PR to give visibility and get some other eyes on it. Unit tests are still missing.\r\n\r\nThis introduces a new `:openide` REPL command which creates a debuggable solution for scripts and then launches Visual Studio. You get full debugger support, step through, watches, etc!\r\n\r\nEssentially it automates the approach [here] (https://github.com/scriptcs/scriptcs/wiki/Debugging-a-script) which @dschenkelman came up with. When you run the command, it will grab all scripts in the folder (including sub-folders) of the script you specified and add them to the solution.\r\n\r\nBelow you can see a screenshot of debugging a script in VS 2015 after running the command.\r\n\r\n![screen shot 2015-10-24 at 6 43 05 pm](https://cloud.githubusercontent.com/assets/141124/10713643/2ff7a7b4-7a7f-11e5-9fa5-6cfcc2b76ecf.png)\r\n\r\nToday this only supports Visual Studio as the project structure which it creates is not supported in VS Code, OR in Xamarin Studio. XS doesn't \"seem\" to have as rich support for an \"exe\" style project. I tried hacking the equivalent in using an XBuild project, but that didn't work. For reference, [here](https://gist.github.com/glennblock/ca4685f4679348d427f1) is the .sln created for the screenshot.\r\n\r\nA few community requests:\r\n* @jamesmontemagno if you have any ideas on how to do the equiv in Xamarin, I'd appreciate it! \r\n* @shanselman any chance of getting a flow like this to work in VS Code?\r\n* @mat-mcloughlin Omnisharp Sublime etc?"},"comment":{"url":"https://api.github.com/repos/scriptcs/scriptcs/issues/comments/151074749","html_url":"https://github.com/scriptcs/scriptcs/pull/1109#issuecomment-151074749","issue_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/1109","id":151074749,"user":{"login":"mat-mcloughlin","id":2362687,"avatar_url":"https://avatars.githubusercontent.com/u/2362687?v=3","gravatar_id":"","url":"https://api.github.com/users/mat-mcloughlin","html_url":"https://github.com/mat-mcloughlin","followers_url":"https://api.github.com/users/mat-mcloughlin/followers","following_url":"https://api.github.com/users/mat-mcloughlin/following{/other_user}","gists_url":"https://api.github.com/users/mat-mcloughlin/gists{/gist_id}","starred_url":"https://api.github.com/users/mat-mcloughlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mat-mcloughlin/subscriptions","organizations_url":"https://api.github.com/users/mat-mcloughlin/orgs","repos_url":"https://api.github.com/users/mat-mcloughlin/repos","events_url":"https://api.github.com/users/mat-mcloughlin/events{/privacy}","received_events_url":"https://api.github.com/users/mat-mcloughlin/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T09:23:47Z","updated_at":"2015-10-26T09:23:47Z","body":"Going to tag in @nosami and @david-driscoll as they can probably offer seem contributions here"}}