BowlerHatLLC / vscode-swf-debug

SWF debugger extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=bowlerhatllc.vscode-swf-debug
Apache License 2.0
13 stars 3 forks source link

How to debug SWF running on a remote machine? #14

Open sxd1140 opened 4 years ago

sxd1140 commented 4 years ago

How to connect debugger by context menu in swf?

I tried "request": "attach", but no luck.

joshtynjala commented 4 years ago

To use "request": "attach", you need to do the following:

1) Compile a debuggable SWF 2) Open the SWF in the Flash Player content debugger 3) Start your "request": "attach" debug configuration in Visual Studio Code

When attaching instead of launching, it's important that you open the SWF in Flash Player before debugging in VSCode.

I am not familiar with any context menu related to debugging.

sxd1140 commented 4 years ago

My SWF run on another machine.

When I use Flash Builder before, run remote debug first, then open SWF on another machine, select Debugger item in context menu, select Other Machine and my develop machine's IP then SWF will connect to my develop machine.

Snipaste_2020-06-01_11-08-23
joshtynjala commented 4 years ago

Fascinating! I didn't know that you could debug a SWF running on a different machine.

Unfortunately, I'm not sure how to make that work. If I find some time, I'll try to look into it, but I cannot promise anything.

sxd1140 commented 4 years ago

SWF will connect to develop machine 7935 port.