-
Notifications
You must be signed in to change notification settings - Fork 350
Debugging with Visual Studio 2019
Don-Duong Quach edited this page Feb 22, 2020
·
6 revisions
- In your script, call
-
Context.CreateInspector(9222)
9229 is default port for Unreal.js, for Chrome devtools its 9222
-
Attach To Process
in Visual Studio
- Alt+Ctrl+P : Debug ->
Attach To Process
- Set
Connection Type
toChrome devtools protocol websocket (no authentication)
- Connection target:
ws://localhost[:{port}]
:{port} default is 9222- Type 'Enter' or Click
Refresh
to see available processes.
- Type 'Enter' or Click
- Set
Attach To
:JavasScript (Node.js 8+) code
- Select the
Webkit instance -
process - Click
Attach
- Set a breakpoint in your script
- Save your script to force Unreal.js to reload
- Start Debugging!