Skip to content

Debugging with Visual Studio 2019

Don-Duong Quach edited this page Feb 21, 2020 · 6 revisions
  1. In your script, call
  • Context.CreateInspector(9222) 9229 is default port for Unreal.js, for Chrome devtools its 9222
  1. Attach in Visual Studio
  • Debug -> Attach To Process
  • Set Connection Type to Chrome devtools protocol websocket (no authentication)
  • Connection target: ws://localhost[:{port}] :{port} is optional if CreateInspector was set to 9222
  • Click Refresh
  • Set Attach To: to `JavasScript (Node.js 8+) code
  • Select the Webkit instance - process
  • Click Attach
  1. Set a breakpoint in your script
  • Save your script to force Unreal.js to reload
  1. Start Debugging!

Clone this wiki locally