Index: tests/standalone/debugger/debug_lib.dart |
diff --git a/tests/standalone/debugger/debug_lib.dart b/tests/standalone/debugger/debug_lib.dart |
index 4a5e32606516af5dac0aa40c3862aeb2346a6841..cee7c2f94334bbcddcd5ac7251bc5a43b51d7612 100644 |
--- a/tests/standalone/debugger/debug_lib.dart |
+++ b/tests/standalone/debugger/debug_lib.dart |
@@ -609,7 +609,7 @@ bool RunScript(List script, List<String> arguments) { |
// Port number 0 means debug target picks a free port dynamically. |
var targetOpts = [ "--debug:0" ]; |
- targetOpts.add(Platform.script.toFilePath()); |
+ targetOpts.add(Platform.script); |
targetOpts.add("--debuggee"); |
print('args: ${targetOpts.join(" ")}'); |