components
components copied to clipboard
sls dev --debug watching Report an error
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

E.g. stack trace, version, operating system, ... operating system : mac os cli version : latest
@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.