Skip to content

Commit 377f21c

Browse files
committed
fix(docs): remove misleading debugger instructions
It should help to avoid issues like this: #404 (comment)
1 parent 9ad676c commit 377f21c

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,6 @@ This plugin integrates with [nvim-dap](https://github.com/mfussenegger/nvim-dap)
441441
Currently if `debugger.enabled` is set to `true` in the user's config **it will expect `nvim-dap` to be installed**.
442442
If `dap` is this plugin will use `flutter` or `dart` native debugger to debug your project.
443443

444-
To use the debugger you need to run `:lua require('dap').continue()<CR>`. This will start your app. You should then be able
445-
to use `dap` commands to begin to debug it. For more information on how to use `nvim-dap` please read the project's README
446-
or see `:h dap`. Note that running the app this way will prevent commands such as `:FlutterRestart`, `:FlutterReload` from working.
447-
448444
You can use the `debugger.register_configurations` to register custom runner configuration (for example for different targets or flavor).
449445
If your flutter repo contains launch configurations in `.vscode/launch.json` you can use them via this config :
450446

doc/flutter-tools.txt

-6
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,6 @@ to provide debug capabilities. Currently if `debugger.enabled` is set to `true`
499499
in the user’s config **it will expect nvim-dap to be installed**. If `dap` is
500500
this plugin will use `flutter` or `dart` native debugger to debug your project.
501501

502-
To use the debugger you need to run `:lua require('dap').continue()<CR>`. This
503-
will start your app. You should then be able to use `dap` commands to begin to
504-
debug it. For more information on how to use `nvim-dap` please read the
505-
project’s README or see |dap|. Note that running the app this way will
506-
prevent commands such as `:FlutterRestart`, `:FlutterReload` from working.
507-
508502
You can use the `debugger.register_configurations` to register custom runner
509503
configuration (for example for different targets or flavor). If your flutter
510504
repo contains launch configurations in `.vscode/launch.json` you can use them

0 commit comments

Comments
 (0)