Skip to content

Commit

Permalink
Support /cmd prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed May 29, 2020
1 parent 428ae7e commit 42b8a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapter2/src/debug_session.rs
Expand Up @@ -1834,6 +1834,8 @@ impl DebugSession {
ConsoleMode::Evaluate => {
if args.expression.starts_with('`') {
self.handle_execute_command(&args.expression[1..], frame)
} else if args.expression.starts_with("/cmd ") {
self.handle_execute_command(&args.expression[5..], frame)
} else {
self.handle_evaluate_expression(&args.expression, frame)
}
Expand Down

0 comments on commit 42b8a46

Please sign in to comment.