Skip to content

Instantly share code, notes, and snippets.

@CodeTroopers
CodeTroopers / Publish.targets
Created November 13, 2019 16:57
Publish several webapplications of a solution with MSBuild /p:DeployOnBuild=true /p:WebPublishMethod=FileSystem /p:PublishUrl="$(Build.ArtifactStagingDirectory)" /p:DeployDefaultTarget=WebPublish
<!-- Override target WebFileSystemPublish to include ProjectName in PublishUrl -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebFileSystemPublishDependsOn>
SetPublishUrl;
$(WebFileSystemPublishDependsOn);
</WebFileSystemPublishDependsOn>
</PropertyGroup>
<Target Name="SetPublishUrl">
<PropertyGroup>
@CodeTroopers
CodeTroopers / README.md
Created August 8, 2017 09:35
Debug unit tests with Intern 4 from VSCode

Debug unit tests with Intern 4 from VSCode

This document provides an example of how you can configure vscode to debug unit tests with Intern 4.

You will need to edit your .vscode/launch.json in the root of your project and follow the example JSON below. Then edit your package.json file to add the debug script like in the example below.

You can find a configuration sample for Intern 3 here

There is more documentation of the launch.json at Debugging,