vshaxe / flash-debugger

Visual Studio Code Debugger for Haxe/Flash applications
MIT License
25 stars 7 forks source link

Spaces in 'program' not properly escaped #17

Closed thejustinwalsh closed 5 years ago

thejustinwalsh commented 7 years ago

If there are spaces in your path to the .swf that you are launching, the debugger will just open a command prompt.

Issue is present on Windows, have not tested other operating systems.

Workaround: Do not use a path with spaces in it.

thejustinwalsh commented 7 years ago

Looks like the C# debug adapter had the same problem once upon a time.

Gama11 commented 6 years ago

Hm.. I actually can't seem to reproduce this, the following works fine:

"program": "${workspaceRoot}/export/fla sh/bin/Mo de.swf"

I'm on Windows 10.

thejustinwalsh commented 6 years ago

Haven't tried it recently. Maybe the way the process was being launched was fixed in VS Code itself?

Gama11 commented 6 years ago

Seems unlikely, I think this is done by the flash debugger.