Skip to content

Command-line option -d for console debugger #3349

Open
@TarantoolBot

Description

@TarantoolBot

Related dev. issue(s): tarantool/tarantool#7456

Product: Tarantool
Since: 2.11
Root document: console debugger docs (TBD in #3195)
SME: @ tsafin @ igormunkin

Details

-d target.lua in the tarantool console activates the console debugger on the specified file.

$ tarantool -d debug-target.lua
Tarantool debugger 2.11.0-entrypoint-852-g9e6ed28ae
type 'help' for interactive help
luadebug: Loaded for 2.11.0-entrypoint-852-g9e6ed28ae
break via debug-target.lua => debug-target.lua:1 in chunk at debug-target.lua:0
   1 => local date = require 'datetime'
   4
luadebug>

Please see third_party/lua/README-luadebug.md for a full description of different ways to activate debugging shell.
Requested by @tsafin in tarantool/tarantool@a984fc0.

Definition of done

  • the -d option is documented

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.112.11 release and the associated technical debtdebuggerfeatureA new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions