Skip to content

Conversation

@mjcheetham
Copy link
Contributor

Add launch.json and tasks.json files for building, running unit tests and debugging GCM in Visual Studio Code.

You can execute a build using the Run Build Task command (default shortcut Mac: Shift+Command+B, Windows: Ctrl+Shift+B) and run all tests with the Run Test Task command.

There are two debug launch configurations: one to attach to an existing GCM process (such as one launched with GCM_DEBUG=1), and one to start a new GCM process with the get verb.

These additions should provide a slighter nicer than basic development experience outside of Visual Studio (full/non-Code).

Add launch.json and tasks.json files for building, running unit tests
and debugging GCM in Visual Studio Code.
@mjcheetham mjcheetham requested review from jamill and jeschu1 December 4, 2018 22:16
@@ -0,0 +1,26 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

json technically doesn't support comments, which is probably why GitHub is coloring this an alarming red.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah.. this comment is from the default template created by VS Code. VS Code also supports "JSON with comments" as a language, which these .vscode files are by default.
I think this is OK to leave it (plus it's good to see the doc links for the future!)

@mjcheetham mjcheetham merged commit ceb8f8f into git-ecosystem:master Dec 5, 2018
@mjcheetham mjcheetham deleted the vscode branch December 5, 2018 15:41
@mjcheetham mjcheetham added the engineering Refactoring or build changes label Apr 24, 2019
Copy link

@girlsavenue girlsavenue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,26 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

engineering Refactoring or build changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants