Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

[nodejs] support local src mounting with subpaths #23

Description

@moritzraho

Current behaviour

> wskdebug myaction path/to/myaction/myaction.js
=> will mount path/to/myaction/ to /code in the docker container

see https://github.com/adobe/wskdebug/blob/master/src/kinds/nodejs/nodejs.js#L38

Nice to have

would be great to have something like
> wskdebug myaction path/to/myaction/myaction.js --local-root path/

Why

this would enable things like require('../whatever.js') or having node_modules in a parent directories

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions