Skip to content

Commit 47548aa

Browse files
committed
#36 Add debug configuration for both API and SPA for VS Code
1 parent ef80d8c commit 47548aa

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

.vscode/launch.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,43 @@
2929
"type": "coreclr",
3030
"request": "attach",
3131
"processId": "${command:pickProcess}"
32+
},
33+
{
34+
"name": "Launch Chrome",
35+
"type": "chrome",
36+
"request": "launch",
37+
"url": "http://localhost:5000",
38+
"webRoot": "${workspaceFolder}/ClientApp",
39+
"breakOnLoad": true,
40+
"sourceMaps": true,
41+
"sourceMapPathOverrides": {
42+
"webpack:///*": "${webRoot}/*",
43+
"webpack:///./*": "${webRoot}/*",
44+
"webpack:///src/*": "${webRoot}/src/*"
45+
}
46+
},
47+
{
48+
"name": "Launch Firefox",
49+
"request": "launch",
50+
"url": "http://localhost:5000",
51+
"type": "firefox",
52+
"webRoot": "${workspaceFolder}/ClientApp",
53+
"pathMappings": [
54+
{
55+
"url": "webpack:///src",
56+
"path": "${webRoot}/src"
57+
}
58+
]
59+
}
60+
],
61+
"compounds": [
62+
{
63+
"name": "Debug SPA and API (Chrome)",
64+
"configurations": [".NET Core Launch (web)", "Launch Chrome"]
65+
},
66+
{
67+
"name": "Debug SPA and API (Firefox)",
68+
"configurations": [".NET Core Launch (web)", "Launch Firefox"]
3269
}
3370
]
3471
}

AspNetCoreVueStarter.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<Copyright>MIT 2020 Software Ateliers</Copyright>
1414
<AssemblyName>AspNetCoreVueStarter</AssemblyName>
1515
<RootNamespace>AspNetCoreVueStarter</RootNamespace>
16-
<Version>2.3.4</Version>
17-
<AssemblyVersion>2.3.4.0</AssemblyVersion>
18-
<FileVersion>2.3.4.0</FileVersion>
16+
<Version>2.4.0</Version>
17+
<AssemblyVersion>2.4.0.0</AssemblyVersion>
18+
<FileVersion>2.4.0.0</FileVersion>
1919
</PropertyGroup>
2020

2121
<ItemGroup>

SoftwareAteliers.AspNetCoreVueStarter.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>SoftwareAteliers.AspNetCoreVueStarter</id>
5-
<version>2.3.4</version>
5+
<version>2.4.0</version>
66
<description>
77
ASP.NET Core + Vue.js starter project
88
The repository contains an ASP.NET Core + Vue.js starter template. The template runs on ASP.NET Core 3.1 and is created by Vue CLI 4.0 with a new plugin based architecture allowing developers to interactively scaffold a new project with just a one command.

0 commit comments

Comments
 (0)