You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which I used previously, but I would have the build the program so that the index.js in dist would be with the latest code, so I moved to using a different method with NPM:
So, as to save this configuration as mine and have it available, I'm copying the same commands that are defined in js-debug-node from dape-configs. Which is like this:
Now, when I call moveecar-service-debug as a config template, it errors with Wrong type argument: stringp, nil. I'm not sure how I should extend a configuration that does work.
The text was updated successfully, but these errors were encountered:
Another way is to use dape-command (see M-x describe-variable dape-command), where we can add (js-debug-node :cwd "~/Projects/accounting-service/" :runtimeArgs ["run-script" "start"] :runtimeExecutable "npm") as a dir local variable with add-dir-local-variable.
Hello Dape Team!,
I'm using dape for NodeJS backend service debugging, it works flawlessly. These two commands work for me:
js-debug-node :cwd "~/Projects/accounting-service/" - dist/app/index.js
Which I used previously, but I would have the build the program so that the index.js in dist would be with the latest code, so I moved to using a different method with NPM:
js-debug-node :cwd "~/Projects/accounting-service/" :runtimeArgs ["run-script" "start"] :runtimeExecutable "npm"
So, as to save this configuration as mine and have it available, I'm copying the same commands that are defined in
js-debug-node
fromdape-configs
. Which is like this:So, I'm writing my config like this:
Now, when I call moveecar-service-debug as a config template, it errors with
Wrong type argument: stringp, nil
. I'm not sure how I should extend a configuration that does work.The text was updated successfully, but these errors were encountered: