-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code Launchers & Tasks. #161
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
af26b9a
First attempt at creating some VS Code Launchers & Tasks.
isaacabraham 6cc417b
Merge branch 'master' into code-debugging
isaacabraham 80bf520
Work on launch and task.
isaacabraham e052f50
Remove duplicate entry in template.json.
isaacabraham e5c7f94
Stop logging module load messages on server.
isaacabraham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug Server", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "Build Server", | ||
"program": "${workspaceFolder}/src/Server/bin/Debug/netcoreapp2.1/Server.dll", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"console": "internalConsole", | ||
}, | ||
{ | ||
"name": "Debug Client", | ||
"type": "chrome", | ||
"request": "launch", | ||
"preLaunchTask": "Watch Client", | ||
"url": "http://localhost:8080", | ||
"webRoot": "${workspaceFolder}/src/Client", | ||
"sourceMaps": true, | ||
"sourceMapPathOverrides": { | ||
"webpack:///*": "${workspaceFolder}/*", | ||
} | ||
}, | ||
{ | ||
"name": "Watch SAFE App", | ||
"type": "chrome", | ||
"request": "launch", | ||
"preLaunchTask": "Watch Client and Server", | ||
"url": "http://localhost:8080", | ||
"env": { | ||
"vsCodeSession":"true" | ||
}, | ||
"webRoot": "${workspaceFolder}/src/Client", | ||
"sourceMaps": true, | ||
"sourceMapPathOverrides": { | ||
"webpack:///*": "${workspaceFolder}/*", | ||
} | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Debug SAFE App", | ||
"configurations": [ "Debug Server", "Debug Client" ], | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build Server", | ||
"command": "dotnet", | ||
"args": [ "build" ], | ||
"type": "shell", | ||
"options": { "cwd": "${workspaceFolder}/src/Server" }, | ||
"group": "build", | ||
"problemMatcher": [ "$msCompile" ] | ||
}, | ||
{ | ||
"label": "Watch Client and Server", | ||
"command": "fake", | ||
"args": [ "build", "-t", "Run" ], | ||
"type": "shell", | ||
"options": { | ||
"cwd": "${workspaceFolder}", | ||
"env": { | ||
"vsCodeSession": "true" | ||
} | ||
}, | ||
"group": "build", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"background": { | ||
"beginsPattern": { "regexp": "run Run" }, | ||
"endsPattern": { "regexp": "i 「wdm」: Compiled|The terminal process terminated" }, | ||
"activeOnStart": true | ||
}, | ||
"pattern": { | ||
"regexp": "^(.*)\\((\\d+),(\\d+)\\): \\((\\d+),(\\d+)\\) (warning|error) FABLE: (.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"endLine": 4, | ||
"endColumn": 5, | ||
"severity": 6, | ||
"message": 7 | ||
} | ||
} | ||
}, | ||
{ | ||
"label": "Watch Client", | ||
"command": "fake", | ||
"args": [ "build", "-t", "Run" ], | ||
"type": "shell", | ||
"options": { | ||
"cwd": "${workspaceFolder}", | ||
"env": { | ||
"vsCodeSession": "true", | ||
"safeClientOnly": "true" | ||
} | ||
}, | ||
"group": "build", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"background": { | ||
"beginsPattern": { "regexp": "run Run" }, | ||
"endsPattern": { "regexp": "i 「wdm」: Compiled|The terminal process terminated" }, | ||
"activeOnStart": true | ||
}, | ||
"pattern": { | ||
"regexp": "^(.*)\\((\\d+),(\\d+)\\): \\((\\d+),(\\d+)\\) (warning|error) FABLE: (.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"endLine": 4, | ||
"endColumn": 5, | ||
"severity": 6, | ||
"message": 7 | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it was added by mistake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
urgh. sorry.