You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by al...@apache.org on 2020/12/23 22:11:01 UTC

[openwhisk-wskdebug] 06/11: readme: put name first in vs code launch.json examples

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

alexkli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdebug.git

commit ad940a7927bfc4b00844a32da17928bc9cb3e46b
Author: Alexander Klimetschek <ak...@adobe.com>
AuthorDate: Wed Dec 23 11:06:13 2020 -0800

    readme: put name first in vs code launch.json examples
---
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 52101ef..d9e564a 100644
--- a/README.md
+++ b/README.md
@@ -127,9 +127,9 @@ Add the configuration below to your [launch.json](https://code.visualstudio.com/
 ```
     "configurations": [
         {
+            "name": "wskdebug MYACTION", // <-- adjust name for debug drop-down
             "type": "pwa-node",
             "request": "launch",
-            "name": "wskdebug MYACTION", // <-- adjust name for debug drop-down
             "attachSimplePort": 0,
             "killBehavior": "polite",
             "runtimeExecutable": "wskdebug",
@@ -153,9 +153,9 @@ In **VS Code versions <= 1.47** use the config below. If you use 1.47, you also
     "configurations": [
         {
             // legacy launch config for VS Code <= 1.47
+            "name": "wskdebug MYACTION",
             "type": "node",
             "request": "launch",
-            "name": "wskdebug MYACTION",
             "runtimeExecutable": "wskdebug",
             "args": [ "MYACTION", "ACTION.js", "-l" ],
             "localRoot": "${workspaceFolder}",
@@ -191,9 +191,9 @@ To use custom credentials from a custom `.wskprops` and/or use a developer-speci
     ```json
     "configurations": [
         {
+            "name": "wskdebug",
             "type": "pwa-node",
             "request": "launch",
-            "name": "wskdebug",
             "attachSimplePort": 0,
             "killBehavior": "polite",
             "runtimeExecutable": "wskdebug",
@@ -218,11 +218,11 @@ Here is a `.vscode/launch.json` example that uses compounds to expose a config s
 {
   "configurations": [
     {
+      "name": "mypackage/action1",
       "type": "pwa-node",
       "request": "launch",
       "attachSimplePort": 0,
       "killBehavior": "polite",
-      "name": "mypackage/action1",
       "runtimeExecutable": "wskdebug",
       "args": [
         "mypackage/action1",
@@ -233,11 +233,11 @@ Here is a `.vscode/launch.json` example that uses compounds to expose a config s
       "outputCapture": "std"
     },
     {
+      "name": "mypackage/action2",
       "type": "pwa-node",
       "request": "launch",
       "attachSimplePort": 0,
       "killBehavior": "polite",
-      "name": "mypackage/action2",
       "runtimeExecutable": "wskdebug",
       "args": [
         "mypackage/action2",