components icon indicating copy to clipboard operation
components copied to clipboard

sls dev --debug watching Report an error

Open ghost opened this issue 3 years ago • 1 comments

Description

The changed code will be built automatically, but this exception is often triggered, and it can be built again after re-run.

Additional Data

image

E.g. stack trace, version, operating system, ... operating system : mac os cli version : latest

ghost avatar Jul 23 '20 03:07 ghost

@Johnny-ops what's the reason you put --debug after dev? if you want to use dev mode, using sls dev is fine. --debug mode is mainly for component author and you can see the detail console log message while component running, but it has nothing to do with dev mode. Also --debug is not fully supported before, with tonight's new version it should be supported now. Still, not sure you want to mix the dev and --debug together.

hkbarton avatar Jul 24 '20 14:07 hkbarton