I am moving from VSCode to PhpStorm. In VSCode I could configure debugger with attach mode. What is attach mode? It allows you to debug your app in existing browser window. In launch mode new instance of browser is started. In PhpStorm I can't see that option in docs. Do I search in wrong way? Or there is a trick to do that?
Thank you for response.
CodePudding user response:
You can use the Attach to Node.js/Chrome run configuration to attach the debugger to a running Node.js process/Chrome browser started with --remote-debugging-port
option. See https://www.jetbrains.com/help/phpstorm/2021.3/running-and-debugging-node-js.html#node_debugging_running_application for more info.