Cant get debugging in vs code to work



  • Hello there i really like this engine, but when following this guide :

    http://haxeflixel.com/documentation/visual-studio-code/

    my launch.json file:

    {
    	"version": "0.2.0",
    	"configurations": [
    		{
    			"name": "flash build + launch",
    			"type": "fdb",
    			"request": "launch",
    			"program": "${workspaceRoot}/export/flash/bin/game.swf",
    			"preLaunchTask": "flash debug (build only)"
    		},
    		{
    			"name": "flash launch",
    			"type": "fdb",
    			"request": "launch",
    			"program": "${workspaceRoot}/export/flash/bin/game.swf"
    		}
    	]
    }
    

    the debugging doesn't seems to work what do i need to do?


  • administrators

    What does "not working" look like exactly? Are there any errors?

    Are you using the tasks.json from flixel-templates well? It's important that the debugged .swf is built with -Dfdb.

    Is .swf associated with a Debug Flash Player?



  • Okay the problem was i was using a wrong flash player

    I downloaded:

    Flash Player projector content debugger
    from http://www.adobe.com/support/flashplayer/debug_downloads.html#fp15
    I wish the documentation would mention that.
    Thx.


  • administrators

    I wish the documentation would mention that.

    That's a good point. The content debugger is now mentioned in vshaxe-debugadapter's readme / usage guide, and we link to it on the Flixel side.


Log in to reply