You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/08/21 09:01:52 UTC

[royale-asjs] branch develop updated: asdoc improve launch.json

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new e534a15  asdoc improve launch.json
e534a15 is described below

commit e534a1596c50a5fd229ea9d0ace7934bfb173ec5
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Aug 21 11:01:40 2020 +0200

    asdoc improve launch.json
---
 examples/royale/ASDoc/.vscode/launch.json | 69 +++++++++++++++++++++++++++----
 1 file changed, 61 insertions(+), 8 deletions(-)

diff --git a/examples/royale/ASDoc/.vscode/launch.json b/examples/royale/ASDoc/.vscode/launch.json
index 5dfb672..6bc6778 100644
--- a/examples/royale/ASDoc/.vscode/launch.json
+++ b/examples/royale/ASDoc/.vscode/launch.json
@@ -2,20 +2,73 @@
     "version": "0.2.0",
     "configurations": [
         {
-            "name": "Launch Chrome against debug.html, with sourcemaps",
             "type": "chrome",
             "request": "launch",
-            "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
-            "sourceMaps": true,
-            "preLaunchTask": "mvn"
+            "name": "Brave - Debug version",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--allow-file-access-from-files", "--auto-ssl-client-auth"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            // "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            //"preLaunchTask": "mvn",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            "sourceMaps": true
         },
         {
-            "name": "Launch Firefox against debug.html, with sourcemaps",
+            "type": "chrome",
+            "request": "launch",
+            "name": "Brave - Release version",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--allow-file-access-from-files", "--auto-ssl-client-auth"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        }
+        ,
+        {
+            "name": "Launch Chrome (Debug version)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "runtimeArgs": ["--allow-file-access-from-files", "--auto-ssl-client-auth"],
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        },
+        {
+            "name": "Launch Chrome (Release version)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "runtimeArgs": ["--allow-file-access-from-files", "--auto-ssl-client-auth"],
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        },
+        {
+            "name": "Launch Firefox (Debug version)",
+            "type": "firefox",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        },
+        {
+            "name": "Launch Firefox (Release version)",
             "type": "firefox",
             "request": "launch",
-            "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
-            "sourceMaps": true,
-            "preLaunchTask": "mvn"
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
         }
     ]
 }