Download

UnrealBuildTool HTML5 Debugging

How do I debug the HTML5 build using VS2017?

I have the UnrealBuildTool project as the startup project, but I’m not sure how to tell it to perform a build of my project using the HTML5 profile. The following link mentions the Automatic Project File Generation (https://docs.unrealengine.com/en-us/…tFileGenerator), specifically the command line switch -ProjectFile, but I think that is for the project files itself.

When I have the UE4 project as the startup project, the UE4 Editor runs, but when I try building the game from the UE4 Editor the VS2017 debugger never stops at the breakpoint in Main located in UnrealBuildTool.cs.

What am I missing? What am I doing wrong?

Thank you for the help.

Answer (How to debug and fix build problems ? - UE4 AnswerHub):
set UnrealBuildTool as the startup project
set Command line arguments: <TargetName> <Platform> <Configuration> <uproject path>

Using the Vehicle Start Kit (vsk) as an example:
vsk HTML5 Shipping E:\Temp\vsk\vsk.uproject