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

Where should I set the debug player's path? #49

Open
VishwasGagrani opened this issue Apr 28, 2024 · 1 comment
Open

Where should I set the debug player's path? #49

VishwasGagrani opened this issue Apr 28, 2024 · 1 comment

Comments

@VishwasGagrani
Copy link

To make it work I have to set "open all swf with debug player" because by default it always launches the release-player.
So how can I change this path in the vscode extension
C:\Program Files\Adobe\Adobe Animate 2024\Players\FlashPlayer.exe
To this path :
C:\Program Files\Adobe\Adobe Animate 2024\Players\Debug\FlashPlayerDebugger.exe

I also tried to use "runtimeExecutable" in launch.json to set flash debug player. But it does not allow that attribute it in the first place.

@joshtynjala
Copy link
Member

runtimeExecutable in launch.json is indeed the correct way to provide a custom Flash Player executable.

I just confirmed that it works. Here it is with a macOS path, but it would be similar for a Windows exe.

{
	// Use IntelliSense to learn about possible attributes.
	// Hover to view descriptions of existing attributes.
	// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
	"version": "0.2.0",
	"configurations": [
		{
			"type": "swf",
			"request": "launch",
			"name": "Launch SWF",
			"runtimeExecutable": "/Applications/Flash Player.app/Contents/MacOS/Flash Player Debugger"
		}
	]
}

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