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

The debugger does not automatically connect to the player. #21

Open
RedHead90 opened this issue May 13, 2019 · 2 comments
Open

The debugger does not automatically connect to the player. #21

RedHead90 opened this issue May 13, 2019 · 2 comments

Comments

@RedHead90
Copy link

I did everything according to the instructions and now, when I start debugging, my swf file is executed, but the debugger continues to wait until I click the "Debugger" option in the player context menu.
Win 10
VS Code 1.33.1
Haxe 4.0.0-rc.2
vshaxe 2.9.2
flash-debugger 1.2.2

@pecheny
Copy link

pecheny commented Mar 11, 2023

I had same issue trying to debug my old openfl game. Despite
<haxeflag name="-D" value="fdb"/> in project.xml had no effect, the -debug flag changes the thing.
In my case auto connect to debugger works with following launch.json

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Flash",
			"type": "fdb",
			"request": "launch",
                        "preLaunchTask": "lime: build flash -debug",
			"program": "${workspaceFolder}/export/flash/bin/my.swf"
		}
	]
}```

@pecheny
Copy link

pecheny commented Mar 11, 2023

I had same issue trying to debug my old openfl game. Despite
<haxeflag name="-D" value="fdb"/> in project.xml had no effect, the -debug flag changes the thing.
In my case auto connect to debugger works with following launch.json

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Flash",
			"type": "fdb",
			"request": "launch",
                        "preLaunchTask": "lime: build flash -debug",
			"program": "${workspaceFolder}/export/flash/bin/my.swf"
		}
	]
}

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