Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sxd1140 opened this issue May 29, 2020 · 4 comments
Open

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

sxd1140 opened this issue May 29, 2020 · 4 comments

Comments

@sxd1140
Copy link

sxd1140 commented May 29, 2020

How to connect debugger by context menu in swf?

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

@joshtynjala
Copy link
Member

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
Copy link
Author

sxd1140 commented Jun 1, 2020

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 joshtynjala changed the title How to remote debug? How to debug SWF running on a remote machine? Jun 1, 2020
@joshtynjala
Copy link
Member

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
Copy link
Author

sxd1140 commented Jun 2, 2020

SWF will connect to develop machine 7935 port.

@joshtynjala joshtynjala transferred this issue from BowlerHatLLC/vscode-as3mxml Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants