code - rtCamp/Frappe-Manager GitHub Wiki
Open bench in vscode.
Usage:
$ fm code [OPTIONS] [BENCHNAME]Arguments:
-
[BENCHNAME]: Name of the bench.
Options:
-
--user TEXT: Connect as this user. [default: frappe] -
-e, --extension TEXT: List of extensions to install in vscode at startup.Provide extension id eg: ms-python.python -
-f, --force-start: Force start the bench before attaching to container. -
-d, --debugger: Sync vscode debugger configuration. -
-w, --work-dir TEXT: Set working directory in vscode. [default: /workspace/frappe-bench] -
--help: Show this message and exit.
Examples:
Open the bench example in VSCode
fm code exampleOpen the bench example with force start
fm code example -fAdd custom extension other than default
fm code example -e vscodevim.vimSync Vscode Debugger configuration
fm code example -dReference: